From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,f4fb3b7e6261c6c8 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-03-24 12:27:17 PST Newsgroups: comp.unix.osf.misc Path: sparky!uunet!noc.near.net!howland.reston.ans.net!usc!enterpoop.mit.edu!paperboy.osf.org!paperboy!nick From: nick@osf.org (Nick Dokos) Subject: Re: Where did the name "grep" come from? In-Reply-To: rob@csi.on.ca's message of Tue, 23 Mar 1993 16:54:45 GMT Message-ID: Sender: news@osf.org (USENET News System) Organization: Open Software Foundation References: Date: 24 Mar 93 16:37:37 GMT Comments: Hyperbole mail buttons accepted, v3.06. 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