Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2003 14:53:58 -0500 (CDT)
From:      Sean Farley <sean-freebsd@farley.org>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Replacing GNU grep revisited
Message-ID:  <20030622144708.K36267@thor.farley.org>
In-Reply-To: <xzpd6h552iq.fsf@dwp.des.no>
References:  <20030621103502.K18572@thor.farley.org> <20030622005852.GB59673@HAL9000.homeunix.com> <20030622092848.R28123@thor.farley.org> <xzpd6h552iq.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Jun 2003, Dag-Erling Sm=F8rgrav 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@farley.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030622144708.K36267>