O_DIRECT means that it can search a large list of files without messing up your buffer cache.
Usage looks like:
Usage: /usr/local/bin/bcgrep -0 Read and write null separated lines --filenames file1 file2 ... filen Search in specified filenames --pattern regex Search for regex --use-odirect Do not pollute the buffer cache - experimental --invert-match|-v List non-matches --files-with-matches|-l List filenames containing one or more matches - only --help Output this help message
See also bgrep for another grep tool that can do binary searches.
You can e-mail the author with questions or comments: