Path: utzoo!attcan!uunet!husc6!rutgers!att!ulysses!andante!alice!andrew From: andrew@alice.UUCP (Andrew Hume) Newsgroups: comp.unix.questions Subject: Re: Why fgrep? Summary: fgrep does a differnt job Message-ID: <8520@alice.UUCP> Date: 12 Dec 88 01:18:06 GMT References: <1050@naucse.UUCP> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 10 steve wampler asks why would you ever use fgrep rather than grep? despite the fact that he has never seen fgrep run faster than grep, it often does run faster. that's one reason. the more important reason is that fgrep searches for any element of a list of literal strings, something that grep simply cannot do. furthermore, it does it MUCH faster than egrep does. of course, new techniques allow fgrep to run about four times faster still.