ed script

Adrian Miranda ade at clark.uucp
Sat Jun 30 16:06:10 AEST 1990


My apologies if this is obvious, I don't know anything about ed, and
really don't want to 8-).

Could someone tell me how to write an ed script that will read in a
file, find the line containing a ')', delete all lines which follow,
then append another file to what remains of the first?  I'm afraid it
does have to be ed, it will go on a boot floppy that doesn't have room
for much else.

Please mail it to me, this is unlikely to appeal to anyone else.

Adrian Miranda
uunet!clark!ade



More information about the Comp.unix.questions mailing list