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.
findstr /B
does what you are asking, but it uses a linear search.