Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 3/23/84; site cbosgd.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!cbosgd!mark
From: mark@cbosgd.UUCP (Mark Horton)
Newsgroups: net.news.b,net.unix,net.jokes
Subject: Re: grepping for "Subject" in /usr/spool/news
Message-ID: <398@cbosgd.UUCP>
Date: Fri, 5-Oct-84 15:05:01 EDT
Article-I.D.: cbosgd.398
Posted: Fri Oct  5 15:05:01 1984
Date-Received: Sat, 6-Oct-84 05:26:34 EDT
References: 
Reply-To: mark@cbpavo.UUCP (Mark Horton)
Organization: AT&T Bell Laboratories, Columbus
Lines: 16

In article  ado@elsie.UUCP writes:
>The second point is what prompts this posting.  Folks may recall articles
>that went around a while back asking why "grep" wasn't smart enough to use
>the "fast fgrep" algorithm when appropriate.  The above results show that
>grep may be smarter than was thought.

It's well known in the UNIX circles that egrep is the fastest grep,
then grep, then fgrep.  This is strange but true.

Which reminds me of a story, which I belive I first heard from Mike Lesk.

It seems a woman ran into a meeting at Bell Labs, late, all out of
breath.  She said "I'm sorry I'm late, I was grepping my apartment
for my keys."

To which the reply came: "You should have used egrep, it's faster."