home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa
- From: etxmesa@eos.ericsson.se (Michael Salmon)
- Subject: Re: grep
- Message-ID: <1992Nov12.144322.11444@ericsson.se>
- Sender: news@ericsson.se
- Nntp-Posting-Host: eos6c02.ericsson.se
- Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
- Organization: Ericsson Telecom AB
- References: <6370@sersun1.essex.ac.uk>
- Date: Thu, 12 Nov 1992 14:43:22 GMT
- Lines: 21
-
- In article <6370@sersun1.essex.ac.uk>,
- peter@essex.ac.uk writes:
- |> A quick question I was asked this morning. "Why is grep so called?"
-
- It comes from an ed command:
-
- g/re/p
-
- i.e. globally search for a regular expression and print those lines
- that match.
-
- --
-
- Michael Salmon
-
- #include <standard.disclaimer>
- #include <witty.saying>
- #include <fancy.pseudo.graphics>
-
- Ericsson Telecom AB
- Stockholm
-