[Gllug] ed vs emacs/vi, was: ed vs emacs, was: OpenMoko Neo Freerunner

Harry Rickards hrickards at l33tmyst.com
Sun May 10 08:58:09 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/09/09 22:30, Bruce Richardson wrote:
> On Sat, May 09, 2009 at 09:34:49PM +0100, Harry wrote:
>> Purely out if interest, is sed based on ed? I know sed stands for  
>> stream editor, and I assume ed stands for editor, but is sed just an  
>> ed for streams?
> 
> The progression is actually ed -> grep -> sed.  It's more a case of
> inherited concepts rather than evolving code (although originally the
> code for sed was lifted right out of ed by Ken Thompson).  Grep is named
> for a sequence of ed commands (global/regular expression/print) that
> were used so frequently in ed scripts that it made the case for a
> specialised tool.  
> 
> Sed was originally called gres, the idea being that it would do a very
> similar job to grep but with substitution.  Along the way, the developer
> decided to add more functionality and he deliberately based the new
> tool's command set on ed's commands because it had become so unversally
> known; so he named the tool "sed" to reinforce that sense of
> progression.
> 
> 
Thanks for the explanation. So I sort of use sed all the time (with grep).

- -- 
Many thanks
Harry Rickards (a.k.a l33tmyst)

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/GCM/GCS/GCC/GIT/GM d? s: a? C++++ UL++++ P- L+++ E--- W+++ N o K+
w--- O- M- V- PS+  PE Y+ PGP++ t 5 X R tv-- b+++ DI D---- G e* h! !r y?
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkoGlyEACgkQ1kZz3mRu0GoavQCg+R8wvWlz3X7QbQNCwI1GAzTw
hbsAnjLH3UjydNPkjg0iWv56fXVsALQv
=4Dop
-----END PGP SIGNATURE-----
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list