Re^2: SED Question

Danny danny at itm.UUCP
Fri Apr 14 23:01:51 AEST 1989


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)



More information about the Comp.unix.questions mailing list