Install Ed by running the following commands:
root:ed-0.2# ./configure --prefix=/usr
root:ed-0.2# make
root:ed-0.2# make install
root:ed-0.2# mv /usr/bin/ed /usr/bin/red /bin
The Ed package contains the ed program.
Ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files.