Article View: comp.editors
Article #3567Re: SED Question
From: merlin
Date: Tue, 18 Apr 1989 00:44
Date: Tue, 18 Apr 1989 00:44
20 lines
552 bytes
552 bytes
I think this does it (script run with "-f"):
/PROMPT>/ {
$b eof
N
$b eof
N
/PROMPT>\n>\n</ {
d
b
}
p
d
}
b
: eof
p
d
q
Technical Details
Message-ID:
<23224@agate.BERKELEY.EDU>Path:
arc1-ca.pugleaf.net!utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!violet.berkeley.edu!merlinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!violet.berkeley.edu!merlin From: merlin@violet.berkeley.edu Newsgroups: comp.editors Subject: Re: SED Question Message-ID: <23224@agate.BERKELEY.EDU> Date: 18 Apr 89 00:44:04 GMT Sender: usenet@agate.BERKELEY.EDU Reply-To: merlin@violet.berkeley.edu () Organization: University of California, Berkeley Lines: 20