Installation of Ed
Install Ed by running the following commands:
cp buf.c buf.c-temp &&
sed 's/int u/int u, sfd/' buf.c-temp | \
sed '/.*\*mktemp.*/d' | \
sed 's/.*if (mktemp.*/ sfd = mkstemp(sfn);\
if ((sfd == -1) || (sfp = fopen (sfn, "w+")) == NULL)/' > buf.c
./configure --prefix=/usr &&
make &&
make install &&
mv /usr/bin/ed /usr/bin/red /bin