Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!dali.cs.montana.edu!milton!ogicse!clark!ade From: ade@clark.uucp (Adrian Miranda) Newsgroups: comp.unix.questions Subject: ed script Keywords: ed, delete to end Message-ID: <1990Jun30.060610.9287@clark.uucp> Date: 30 Jun 90 06:06:10 GMT Organization: Clark College, Vancouver, Wa. USA. Lines: 13 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