Replacing GNU grep revisited
Sean Farley
sean-freebsd at farley.org
Sun Jun 22 12:54:01 PDT 2003
On Sun, 22 Jun 2003, Dag-Erling Smørgrav wrote:
> Unfortunately, FreeGrep has annoying bugs as well. For instance, it
> tries to grep the directories themselves (rather than just their
> contents) when recursing, while GNU grep only greps directories if
> they are explicitly listed on the command line.
It was the first thing I fixed. :)
> Furthermore, GNU grep will not by default show the contents of what it
> considers to be a binary file (such as a directory) while FreeGrep
> does (causing broken ttys and much gnashing of teeth).
Yes, the -a option is reversed between GNU and FreeGrep.
Sean
-----------------------
sean-freebsd at farley.org
More information about the freebsd-hackers
mailing list