1
I'm looking for an equivalent of the unix look
command, which searches a text file for lines beginning with a given prefix. In particular, it has an option for a binary search within a pre-sorted text file.
Does anything like this exist on Windows? I know about find, but it doesn't have the binary search option.
You don't say why you need the binary search option (or for that matter, why you would use look over grep.
findstr /B
does what you are asking, but it uses a linear search. – None – 2011-06-30T08:07:18.020