apm233m@vaxc.cc.monash.edu.au
Date: 08/21/92


From: apm233m@vaxc.cc.monash.edu.au
Subject: Is there an ed which works for Linux?
Date: 21 Aug 1992 16:25:23 +1000

Is there a working ed for linux?
I tried compiling the ed.c from the linux servers but it doesn't
seem to work properly. In fact the source code makes gcc choke; I
had to change a few expressions like
             a &= ^(1 << x);
  to
             a &= ~(1 << x);
Having fixed this, the resulting executable fails on the following:
for the text:
          #define bloggs 12345
the command:
          s/[0-9][0-9]*/5555/p (or something similar, I don't
                                       speak ed)
produces:
          #d5555fine bloggs 12345 (or something similar)

Actually, I would be quite happy to never use ed, but web2c uses it
while making the tex system.

A thought: Is there a way to make emacs emulate ed in this type of
application ?

-- 
===============
Bill Metzenthen
Mathematics Department
Monash University
Australia