Lars --
...and then Lars Hecking said...
%
% > If you can comfortably accept that all Subject: lines look like
% >
% > Subject: .*(linux-br) ...
% >
% > then just turn your recipe into a clone/copy recipe and pipe the message
% > through
% >
% > sed -s "s/^Subject: .*(linux-br) /Subject: /"
% >
% > and then proceed as normal.
%
% D'oh. That's a job for procmail's MATCH and formail. No need for an
% external program.
Well, I thought about that, and formail is a called program at the same
level as sed, but I didn't know how to strip part of the Subject: line
with formail :-)
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001. There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
PGP signature