🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4424

Re: unix acronyms -collecting a list?

#4424
From: Jon LaBadie
Date: Sun, 18 May 1997 00:00
37 lines
2645 bytes
In article <01bc622b$b51fb0c0$f8298acd@sgifford.tir.com>, "Scott W. Gifford" <sgifford@tir.com> writes:
|> 
|>   The story that I have heard about grep is that the name comes from a
|> common usage of Sed...In pre-grep days, the same thing was (and still can
|> be) accomplished with:
|> 
|> 	sed -e g/regular expression/p
|> 
|> As this usage became more common, documentation, newsgroups messages, etc.
|> began to abbreviate "regular expression" to "re", leading to people talking
|> about:
|> 
|> 	sed -e g/re/p
|> 
|> And that, as they say is history.  I don't remember where this story came
|> from, and there's a fair-to-middling chance it has no basis in fact, but I
|> choose to believe it.


I find this repeated misinformation about sed and grep amazing.
Particularly as sed has NO GLOBAL COMMAND!!!

    $ sed -e 'g/x/p' /etc/termcap
    sed: command garbled: g/x/p

sed has a "g" command to "get" the hold space.
sed has a "g" flag to the "s" command.

Drop the "s" from "sed" guys and you got it.

jl
-- 
Jon H. LaBadie                  jon@jgcomp.com
 JG Computing                   jon@jgcomp.jvnc.net
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)
Technical Details
Message-ID: <EAD3Bz.M69@jgcomp.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5kd2ng$c8b$1@rzsun02.rrz.uni-hamburg.de> <337A003F.6A7B@ncofsi.com> <3378D37F.462F3A47@gaijin.com> <x6iv0l7uxw.fsf@ez.bts.com> <5ldtv3$jnm@eve.speakeasy.org> <337B0F6C.4C71614A@indiana.edu> <01bc622b$b51fb0c0$f8298acd@sgifford.tir.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: faa64,3d362ec564ebdcba
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 1103af,3d362ec564ebdcba
X-Google-Attributes: gid1103af,public
X-Google-Thread: 10eb3b,3d362ec564ebdcba
X-Google-Attributes: gid10eb3b,public
X-Google-Thread: 1012a6,3d362ec564ebdcba
X-Google-Attributes: gid1012a6,public
X-Google-Thread: f4bda,3d362ec564ebdcba
X-Google-Attributes: gidf4bda,public
X-Google-Thread: 1025b4,3d362ec564ebdcba
X-Google-Attributes: gid1025b4,public
X-Google-Thread: fa705,3d362ec564ebdcba
X-Google-Attributes: gidfa705,public
X-Google-Thread: 11035d,3d362ec564ebdcba
X-Google-Attributes: gid11035d,public
From: jon@jgcomp.jvnc.net (Jon LaBadie)
Subject: Re: unix acronyms -collecting a list?
Date: 1997/05/18
Message-ID: <EAD3Bz.M69@jgcomp.com>
X-Deja-AN: 243098048
X-Nntp-Posting-Host: jgcomp.com
Sender: usenet@jgcomp.com (Net News Admin)
References: <5kd2ng$c8b$1@rzsun02.rrz.uni-hamburg.de> <337A003F.6A7B@ncofsi.com> <3378D37F.462F3A47@gaijin.com> <x6iv0l7uxw.fsf@ez.bts.com> <5ldtv3$jnm@eve.speakeasy.org> <337B0F6C.4C71614A@indiana.edu> <01bc622b$b51fb0c0$f8298acd@sgifford.tir.com>
Organization: JG Computing
Reply-To: jon@jgcomp.com
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