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)