procmail
[Top] [All Lists]

Re: Removing duplicate header components

1999-02-12 16:24:50
On 12 February 1999, Jim Osborn <jimo(_at_)eskimo(_dot_)com> wrote:
[...]
I'd been deleting gratuitous to-list RT lines with:

:0 fwh
* ^Reply-to: <list-posting-addr(_at_)listaddr(_dot_)com>
| formail -I Reply-To:

but that deletes ALL RT lines, and sometimes an author may actually
have an interesting RT line, distinct from his From: line, and I'd
like to preserve it.

Anyone know of a good delete-just-the-first-header-line recipe?
[...]

    Did you try piping the headers through sed?

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   daia(_at_)stoilow(_dot_)imar(_dot_)ro
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

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