Version 1.8 of GNU ed released
groups.google.com
groups.google.com
Once? You've gotta be kidding. In older, hardcore versions, ed would BLOW RIGHT PAST your first EOF. It would say, "So long, sucka!" to your first EOF. It would assume you weren't serious with that first one, BECAUSE YOU WEREN'T.
What ed was looking for was EOT (end of tape). Because that was serious. When it saw EOF, it thought, "Oh, for fuck's sake. It's amateur hour." Now ed is apparently all about "user friendliness."
This is bullshit.
[1] http://www.tuhs.org/ [2] http://puszcza.gnu.org.ua/software/apout/
GMane is a good community-oriented alternate:
Plus you get to try things out interactively and then paste the working set of commands in your script. it's like sed with a repl, only better!
Example: https://groups.google.com/group/comp.unix.shell/msg/e823e275...
* http://geocar.sdf1.org/ed.c.orig
I actually prefer ed/ex to screen editors when doing quick fixes because I can still see what's in the terminal (although I still use both emacs and vi as well).
And of course there's the obligatory: http://www.gnu.org/fun/jokes/ed-msg.txt
The first time I read this, I almost fell out of my chair in laughter.
That's all there is to it.