For installation instructions see Section 6.41.
Ed (0.2):
ftp://ftp.gnu.org/gnu/ed/
Ed Mkstemp Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/ed-0.2-mkstemp.patch
GNU ed is an 8-bit clean, POSIX-compliant line editor.
Installed programs: ed and red (link to ed)