From: nick@osf.org (Nick Dokos)
Subject: Re: Where did the name "grep" come from?
Date: 24 Mar 93 16:37:37 GMT [thread overview]
Message-ID: <NICK.93Mar24113737@alphaville.osf.org> (raw)
In-Reply-To: rob@csi.on.ca's message of Tue, 23 Mar 1993 16:54:45 GMT
grep is an acronym for general regular expression parser.
No, it is not. See Kernighan & Pike, "The Unix Programming
Environment", p.18. grep was constructed in an evening by Ken
Thompson, by yanking the code out of ed (which he had also written)
and creating a stand-alone program out of it. The ed command was
g/re/p
which stands for "Globally look for Regular Expression and Print".
Whether you want to say that it is an acronym or a literal reading
of the ed command is up to you.
--
Nick Dokos nick@osf.org
OSF Systems Engineering
Member of the League for Programming Freedom - write to lpf@uunet.uu.net
prev parent reply other threads:[~1993-03-24 16:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-03-18 17:46 Where did the name "grep" come from? Jeffrey Mark Braun
1993-03-18 22:16 ` Duke Robillard
1993-03-19 17:25 ` Peter Wemm
1993-03-19 21:35 ` Duke Robillard
1993-03-22 14:12 ` Martin Kraemer
1993-03-22 14:05 ` Jeffrey Mark Braun
1993-03-23 16:54 ` Rob McAteer
1993-03-24 16:37 ` Nick Dokos [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox