Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!ames!ig!arizona!rupley From: rupley@arizona.edu (John Rupley) Newsgroups: comp.editors Subject: Re: SED Question Summary: buggy? Message-ID: <10336@megaron.arizona.edu> Date: 18 Apr 89 06:36:22 GMT References: <99289@sun.Eng.Sun.COM> Organization: U of Arizona CS Dept, Tucson Lines: 28 In article <99289@sun.Eng.Sun.COM>, jackh@sun.UUCP (John Hevelin) writes: > This works for me. Put the following in a script > and call with "sed -f script file" [sed script deleted] Seems like a buggy script -- for starters try it on: xxxPROMPT> > < PROMPT> > PROMPT> > < testing22 PROMPT> > Several previous postings handle such oddities, as does the Lex one-liner: %% ^PROMPT>\n>\n<\n ; John Rupley rupley!local@megaron.arizona.edu