This page describes bcgrep, a python grep tool with experimental O_DIRECT support.

O_DIRECT means that it can search a large list of files without messing up your buffer cache.

Usage looks like:

See also bgrep for another grep tool that can do binary searches.


Hits: 2503
Timestamp: 2026-01-09 23:05:53 PST

Back to Dan's tech tidbits

You can e-mail the author with questions or comments: