tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Replacing usr.bin/grep with the version from FreeBSD

On Sun, Oct 24, 2010 at 07:13:49PM +0300, Antti Kantee wrote:
> On Sun Oct 24 2010 at 18:01:33 +0200, Joerg Sonnenberger wrote:
> > Hi all,
> > any objection to integrate the current BSD grep version from FreeBSD?
> > It is supposed to be working for almost all cases as GNU grep
> > replacement. It is slower in some cases (which might be fixed by TRE),
> > but it should generally be in a much better shape than the current code
> > we have.
> It doesn't handle everything GNU grep handles and it is slower?  For a
> user that does not qualify as "much better shape".

The grep currently in our tree is not GNU grep -- is it?

I believe what Joerg is saying is that FreeBSD's grep is much better than
ours and almost as fast as GNU grep, and with the new regex library might
in fact be as fast as GNU grep.

In other words, it's strictly better than what we already have, no?


Home | Main Index | Thread Index | Old Index