3 ms·
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 — m
by kps 14y ago
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.