Path: utzoo!utgpu!watmath!watdragon!crocus!imacbeath
From: imacbeath@crocus.waterloo.edu (Ian MacBeath, Conrad Grebel College)
Newsgroups: comp.sys.dec.micro
Subject: Re: SEDT Editor, Version #3.3, Level #239
Message-ID: <10192@watdragon.waterloo.edu>
Date: 4 Dec 88 10:04:09 GMT
References: 
Sender: daemon@watdragon.waterloo.edu
Reply-To: imacbeath@crocus.waterloo.edu (Ian MacBeath, Conrad Grebel College)
Organization: University of Waterloo, Waterloo, Ontario, CANADA
Lines: 15

I received the files from Erik (thanks Erik) and the spaces at the
end of the uuencoded files were stripped (by BITNET mailers?).  So I
did the following to fix them because I didn't have the programs
mentioned by Erik.  Thought I would let you know in case you have
the same problems.  You must have SED (Stream EDitor from UNIX).

I saved the mail messages in files called file1 file2 file3 etc...

then I used the following sed command:

sed -e '/^END/,/^BEGIN/d' -e 's/$/    /' -e 's/^end */end/' file[1-9]

This was done on a VAX/UNIX 4.3BSD from csh.  It should work with
SED on any system with the exception of the globbing on the file
name (file[1-9]).