procmail
[Top] [All Lists]

Re: Trimming an extra header.

2003-03-28 14:24:51
On Fri, 28 Mar 2003 the voices made John Ehrlinger write:

JE> I was trying to use sed because I wanted to delete the entire header to
JE> the first blank line (see the sample message).

 How about a quick hack that'll make it all work while the local experts are
coming up with the perfect solution? =)

:0f
* ^From jehrling(_at_)bio\(_dot_)ri\(_dot_)ccf\(_dot_)org
        | perl -ne 'print && next if $a; $a++ if /^$/'


-- 
      /\___/\                                              /\___/\
      \_@ @_/                                              \_@ @_/
 +--oOO-(_)-OOo------------------------------------------oOO-(_)-OOo--+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 +---ôôô---ôôô--------------------------------------------ôôô---ôôô---+
     \O/   \O/      (c)1998-2003  tony(_at_)svanstrom(_dot_)com      \O/   \O/


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


<Prev in Thread] Current Thread [Next in Thread>