Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2003 17:35:06 -0500
From:      Sergey Babkin <babkin@bellatlantic.net>
To:        "Pedro F. Giffuni" <giffunip@yahoo.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: replacing GNU grep with UNIX grep.
Message-ID:  <3E29D69A.C010C47E@bellatlantic.net>
References:  <20030118050802.23784.qmail@web13407.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Pedro F. Giffuni" wrote:
> 
> FWIW;
> 
> The UNIX grep executable is like >3 times smaller than
> GNU grep but also like 3 times slower.

I think that it's said in GNU grep readme: they have knowingly
chosen a faster but more memory-consuming algorithm. And I think
that they've done similar choices in the other tools as well.
After all, we are not limited by a 64KB limit any more, are we ? :-)
 
> Also .. JIC you wonder, I only built this for
> curiosity, I recommend keeping GNU grep unless Caldera
> changes the license :).

Also the GNU grep has a lot more options, the most interesting
of them being -r.

-SB

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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