"Ed" is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files. "Red" is a restricted ed: it can only edit files in the current directory and cannot execute shell commands.
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME ---------- ----------- ------- ------- ------ ---------- ------------ ------------- -rw-rw-r-- 20025/200 174472 460800 37.9% -lh5- 3e4a Mar 30 1998 ed-0.2-bin.tar ---------- ----------- ------- ------- ------ ---------- ------------ ------------- Total 1 file 174472 460800 37.9% Mar 16 1998