Official request: Please make GNU grep the default

Dag-Erling Smørgrav des at
Mon Aug 16 08:55:23 UTC 2010

Dimitry Andric <dimitry at> writes:
> - Uses plain file descriptors instead of struct FILE, since the
>   buffering is done manually anyway, and it makes it easier to support
>   gzip and bzip2.

It might be worth a shot adding mmap(2) support as well, i.e. when
processing an uncompressed regular file, try to mmap(2) it first, and if
that fails, fall back to the plain buffered read(2) method.

Dag-Erling Smørgrav - des at

More information about the freebsd-current mailing list