News for hackers. Stuff that matters.
Re:Version 1.8 of GNU ed released by kps on Thursday April 25, 2013 @10:17AM (#5607269)
Made me look. Real ed(1) exits on the first EOF.

[1] http://www.tuhs.org/ [2] http://puszcza.gnu.org.ua/software/apout/

Re:Version 1.8 of GNU ed released by saurik on Thursday April 25, 2013 @02:41PM (#5609070)
(EOT also happens to be the character you use to represent EOF; this was largely a joke, possibly referencing that "Ed is the real text editor" rant from decades ago that specifically discussed how difficult it was to exit ed as one of its many features. I found it funny.)
Re:Version 1.8 of GNU ed released by kps on Thursday April 25, 2013 @03:29PM (#5609329)
Yes, I know it was a joke. I just had to check that my memory wasn't acting up. (I actually had to use nothing but ed for real work for a few months in 1985 — makes for good training in regular expressions.) Real ed only requires two EOF (or 'q' commands) if the file has changed, so you don't quit by accident, but driving it by script won't hang.