An efficient and pragmatic implementation of the ed text editor, first released in 1971.
# Size comparison
$ ll /bin/ed
-rwxr-xr-x 1 root 53872 /bin/ed
-rwxr-xr-x 1 mcsf 24 ~mcsf/ed/ed
# Sample session
$ ./ed
?
help
?
h
?
q
?
^C
For usage and context of ed
, see GNU's official documentation.