procmail
[Top] [All Lists]

Re: evil mailing list footers -- sed guru(*) needed

1997-07-04 23:01:00
On Fri, 4 Jul 97 22:48:24 -0400, Timothy Luoma <luomat(_at_)peak(_dot_)org>
wrote:
:0fbw
| sed -e '/^\** *REMOVE THIS FOOTER/{' -ed -eq -e}
This removes the first line, but not the following 3.

Sorry, should have tested it first. Try this:

    sed -n -e '/^\** *REMOVE THIS FOOTER/q' -ep

Is there a way to match 'From point X to the end of this message' ??

Certainly. The [newbie] problem I was trying to solve was excluding
the final line of the range.

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>