home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / question / 13276 < prev    next >
Encoding:
Text File  |  1992-11-12  |  841 b   |  35 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa
  3. From: etxmesa@eos.ericsson.se (Michael Salmon)
  4. Subject: Re: grep
  5. Message-ID: <1992Nov12.144322.11444@ericsson.se>
  6. Sender: news@ericsson.se
  7. Nntp-Posting-Host: eos6c02.ericsson.se
  8. Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
  9. Organization: Ericsson Telecom AB
  10. References:  <6370@sersun1.essex.ac.uk>
  11. Date: Thu, 12 Nov 1992 14:43:22 GMT
  12. Lines: 21
  13.  
  14. In article <6370@sersun1.essex.ac.uk>, 
  15. peter@essex.ac.uk writes:
  16. |> A quick question I was asked this morning. "Why is grep so called?"
  17.  
  18. It comes from an ed command:
  19.  
  20. g/re/p
  21.  
  22. i.e. globally search for a regular expression and print those lines
  23. that match.
  24.  
  25. -- 
  26.  
  27. Michael Salmon
  28.  
  29. #include    <standard.disclaimer>
  30. #include    <witty.saying>
  31. #include    <fancy.pseudo.graphics>
  32.  
  33. Ericsson Telecom AB
  34. Stockholm
  35.