Xref: utzoo comp.editors:686 comp.unix.questions:12873 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!gatech!itm!danny From: danny@itm.UUCP (Danny) Newsgroups: comp.editors,comp.unix.questions Subject: Re: Re^2: SED Question Keywords: sed, doesn't sed syntax already support this directly? Message-ID: <1290@itm.UUCP> Date: 14 Apr 89 13:01:51 GMT References: <2360001@hpcuhc.HP.COM> <38564@bbn.COM> <2292@solo11.cs.vu.nl> Reply-To: danny@itm.UUCP (Danny) Organization: In Touch Ministries, Atlanta, GA Lines: 13 Uh, Why not use the sed comma operator? Like: sed '/^PROMPT>/,/^>/d' file I got the impression that the original poster didn't care WHAT lay between the first and last match lines. Danny -- Daniel S. Cox (seismo!gatech!itm!danny)