replacing GNU grep with UNIX grep.

5 views
Skip to first unread message

giff...@yahoo.com

unread,
Jan 17, 2003, 9:01:12 PM1/17/03
to
Hi guys;

I replaced GNU grep with SCO's grep from
http://unixtools.sourceforge.net . They are both
covered by the same license (GPL) so there might not
be any real advantage in the replacement. I haven't
compared performance either.

Compiling was trivial, I only had to cut and paste one
function from stubs.c in their libregexp stuff and it
seems to work fine.
I just wanted to mention this in case there someone
interested in an alternative.

cheers,

Pedro.

______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

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

giff...@yahoo.com

unread,
Jan 18, 2003, 12:08:16 AM1/18/03
to
FWIW;

The UNIX grep executable is like >3 times smaller than
GNU grep but also like 3 times slower.

Also .. JIC you wonder, I only built this for
curiosity, I recommend keeping GNU grep unless Caldera
changes the license :).

bab...@bellatlantic.net

unread,
Jan 18, 2003, 5:35:29 PM1/18/03
to
"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

d...@ofug.org

unread,
Feb 3, 2003, 7:21:56 AM2/3/03
to
Sergey Babkin <bab...@bellatlantic.net> writes:
> Also the GNU grep has a lot more options, the most interesting
> of them being -r.

Unfortunately, GNU grep's -r option is broken (it does not handle
symnlinks correctly). Try textproc/freegrep from ports instead.

DES
--
Dag-Erling Smorgrav - d...@ofug.org

neuh...@bellavista.cz

unread,
Feb 9, 2003, 5:14:23 PM2/9/03
to
# d...@ofug.org / 2003-02-03 13:20:04 +0100:

> Sergey Babkin <bab...@bellatlantic.net> writes:
> > Also the GNU grep has a lot more options, the most interesting
> > of them being -r.
>
> Unfortunately, GNU grep's -r option is broken (it does not handle
> symnlinks correctly). Try textproc/freegrep from ports instead.

I believe the Subversion team has a BSD-like-licensed grep library.

--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html

roo...@electricjellyfish.net

unread,
Feb 9, 2003, 5:31:39 PM2/9/03
to
On Sunday, February 9, 2003, at 05:12 PM, Roman Neuhauser wrote:

> # d...@ofug.org / 2003-02-03 13:20:04 +0100:
>> Sergey Babkin <bab...@bellatlantic.net> writes:
>>> Also the GNU grep has a lot more options, the most interesting
>>> of them being -r.
>>
>> Unfortunately, GNU grep's -r option is broken (it does not handle
>> symnlinks correctly). Try textproc/freegrep from ports instead.
>
> I believe the Subversion team has a BSD-like-licensed grep library.

no, we don't. we have a BSD-like-licensed diff library that's coming
along nicely, and hopefully will replace gnu diff/diff3 in subversion
fairly soon, but not grep.

-garrett

neuh...@bellavista.cz

unread,
Feb 9, 2003, 5:51:34 PM2/9/03
to
# roo...@electricjellyfish.net / 2003-02-09 17:29:57 -0500:

> On Sunday, February 9, 2003, at 05:12 PM, Roman Neuhauser wrote:
>
> ># d...@ofug.org / 2003-02-03 13:20:04 +0100:
> >>Sergey Babkin <bab...@bellatlantic.net> writes:
> >>>Also the GNU grep has a lot more options, the most interesting
> >>>of them being -r.
> >>
> >>Unfortunately, GNU grep's -r option is broken (it does not handle
> >>symnlinks correctly). Try textproc/freegrep from ports instead.
> >
> > I believe the Subversion team has a BSD-like-licensed grep library.
>
> no, we don't. we have a BSD-like-licensed diff library that's coming
> along nicely, and hopefully will replace gnu diff/diff3 in subversion
> fairly soon, but not grep.

doh, I'm an idiot.

--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to majo...@FreeBSD.org

Reply all
Reply to author
Forward
0 new messages