Why fgrep?

Paul De Bra debra at alice.UUCP
Sat Dec 10 02:11:42 AEST 1988


In article <1050 at naucse.UUCP> sbw at naucse.UUCP (Steve Wampler) writes:
>In every machine I've played with, fgrep has never
>performed better than plain old grep for any data I've given
>it (and on some machines, it is *considerably* slower).
>...
>
>Just curious.

No big deal I would say:
I did a short comparison by searching for a fixed 6 character string in
a bunch of C-files.
grep took 10 times longer than gre, and fgrep took 14 times longer than gre...
too bad gre is not PD I believe...

Paul.
-- 
------------------------------------------------------
|debra at research.att.com   | uunet!research!debra     |
------------------------------------------------------



More information about the Comp.unix.questions mailing list