grep bug

Andrey Chernov ache at nagual.pp.ru
Sun Feb 15 05:43:42 PST 2004


On Sat, Feb 14, 2004 at 06:02:00PM +0300, Andrey Chernov wrote:
> On Sat, Feb 14, 2004 at 06:48:32AM -0700, Steve Young wrote:
> >   It seems FreeBSD ships with grep 2.4d.  In newer versions it looks 
> > like there
> > is a -D argument you can use to tell it how to handle devices - -Dskip 
> > will skip
> > them and avoid this problem when doing grep -r /.
> 
> I'll take grep upgrade to 2.5

Hmm. I found that 2.5 is too early bird, it even not pass its own tests
suite. I attempt to fix the test fails, but broke other test. Since the
matter is too complex (how grep/egrep/fgrep should do to satisfy both
tradition usage and POSIX), we'll better wait until 2.5.1 or something
like when it will become self-consistent.

Meanwhile I'll probably import 2.4.2 while I already in there (no -D yet).

-- 
Andrey Chernov | http://ache.pp.ru/


More information about the freebsd-current mailing list