by stewartm · 6y ago · 0 comments
The defacto ed tutorial exactly predicts/describes my first encounter:
golem$ ed
?
help
?
?
?
quit
?
exit
?
bye
?
hello?
?
eat flaming death
?
^C
?
^C
?
^D
?
Note the consistent user interface and error reportage. Ed is generous enough to flag errors, yet prudent enough not to overwhelm the novice with verbosity.From the same site, the source code of ed:
while :;do read x;echo \?;done