Re: stripping 'footer ads' from mailing lists2000-04-09 15:03:34When I wrote, | >> :0bfi | >> * pattern | >> | sed -n '/pattern/q' -ep and Darren said it didn't work, Philip explained, | You need two -e flags, one for two line of the sed program: | | :0 bfi | * pattern | | sed -n -e '/pattern/q' -e p Thanks for the correction, Philip. I had meant to type | sed -ne '/pattern/q' -ep but my fingers skipped one `e' and my eyes didn't notice.
|
|