*BSD News Article 95340


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!ncar!csn!nntp-xfer-1.csn.net!utulsa.utulsa.edu!TUred!jab
From: jab@TUred (John Bailey)
Newsgroups: comp.unix.shell,comp.os.linux.misc,comp.os.linux.x,alt.os.linux,comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc,gnu.misc.discuss,comp.unix.solaris
Subject: Re: unix acronyms -collecting a list?
Followup-To: comp.unix.shell,comp.os.linux.misc,comp.os.linux.x,alt.os.linux,comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc,gnu.misc.discuss,comp.unix.solaris
Date: 15 May 1997 04:15:08 GMT
Organization: The University of Tulsa
Lines: 32
Distribution: inet
Message-ID: <5le2kc$btq@utulsa.utulsa.edu>
References: <5kd2ng$c8b$1@rzsun02.rrz.uni-hamburg.de> <sej4tc5958u.fsf@ethanol.gnu.ai.mit.edu>
NNTP-Posting-Host: tured.pa.utulsa.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.shell:44936 comp.os.linux.misc:175289 comp.os.linux.x:61558 alt.os.linux:21133 comp.unix.bsd.misc:3213 comp.unix.bsd.freebsd.misc:40891 gnu.misc.discuss:31252 comp.unix.solaris:106501

Joel Ray Holveck (joelh@gnu.ai.mit.edu) wrote:
: "Dr. Borg" <vladiQmip@uniQserve.com> writes:

: > grep - global regular expression parser

: Actually, it comes from the ed idiom 'g/re/p'.  In ed, you see,
: 'g/re/command-list' applies 'command-list' to each line that matches
: 're'.  (The 'g' is the command, and the slashes delimit the re.)
: Then, 'p' is the 'print line' command.

: Happy hacking,
: joelh

: -- 
: http://www.wp.com/piquan --- Joel Ray Holveck --- joelh@gnu.ai.mit.edu
: All my opinions are my own, not the Free Software Foundation's.

: Second law of programming:
: Anything that can go wrong wi
: sendmail: segmentation violation -- core dumped

99% correct. "g" stands for "global", i.e., the entire file being edited.
--
+---------------------------------------------------------------------+
|John A. Bailey			|phone:    (918) 631-3148 (Worldwide) |
|Petroleum Abstracts		|          (800) 247-8678 (US & CA)   |
|The University of Tulsa	|fax:      (918) 599-9361             |
|600 S. College Ave - HH 102	|telex:    not available              |
|Tulsa, OK  74104-3189 USA	|Internet: jab@TUred.pa.utulsa.edu    |
|                                                                     |
|I do not speak for The University of Tulsa or Petroleum Abstracts    |
+---------------------------------------------------------------------+