Re: What does “grep” stand for?
Christian Gollwitzer
auriocus at gmx.de
Wed Nov 4 14:38:21 EST 2015
Am 04.11.15 um 19:24 schrieb Ben Finney:
> The name is a mnemonic for a compound command in ‘ed’ [0], a text editor
> that pre-dates extravagant luxuries like “presenting a full screen of
> text at one time”.
>
> [... lots of fun facts ...]
Here is another fun fact: The convincing UI of ed was actually so widely
applied, that even Microsoft included a similar editor into MSDOS,
called EDLIN. EDLIN, of course, was a bastardized version of ed that
could do much less and also lacked regular expressions. Needless to say
that the mighty "VIsual" editor was out 5 years before MSDOS shipped
EDLIN as the only editor...
In contrast to ed, the stream editor "sed" is used multiple times avery
day in a typical Unix session inside shell scripts to perform automated
text processing tasks, including regex replacement.
Christian
More information about the Python-list
mailing list