What does “grep” stand for?

Random832 random832 at fastmail.com
Thu Nov 5 10:19:05 EST 2015


Chris Angelico <rosuav at gmail.com> writes:
> As someone who grew up on MS-DOS, I'd like to mention that EDLIN's
> value wasn't in the obvious places. There were two features it had
> that most other editors didn't: firstly, it would read only as much of
> the file as it needed, so you could edit a file larger than available
> memory; and secondly, all commands came from stdin, which could be
> redirected - making it a poor man's 'sed'. Using EDLIN for regular
> file editing was never the normal thing.

Of course, both of those things are also true of ed.

And I found it a bit interesting that use in scripts was mentioned as a
contrast between sed and ed, when the original way patches were
distributed (and diff still has an option to generate these) was as ed
scripts.




More information about the Python-list mailing list