Romildo --

...and then Jose Romildo Malaquias said...
% On Thu, Jun 29, 2000 at 11:39:27AM -0400, David T-G wrote:
% > 
% >   sed -s "s/^Subject: .*(linux-br) /Subject: /"
%         ^^

You're right, of course; thanks for catching my typo.


% 
% As am not an experienced procmail user, would you please just
% look at my new recipes and see if their are correct?

The best way to test, of course, is to cat a few messages through
procmail and see how they come out :-)


% 
%       :0 fwh
%       * ^[EMAIL PROTECTED]
%       * ^Subject: (Re: )*\(linux-br\)
%       | sed -e "s/^Subject: \(Re: \)*(linux-br) /Subject: /"

This doesn't look bad, but it seems to me that a simple command like my
original suggestion would do the same thing -- unless there might be
posts that look like

  Subject: <something> (linux-br) ...

whose subjects you would want to preserve.  My sed command will strip out
RE:, re:, Re:, FWD:, forward: (FWD), and more -- be that good or bad...


% 
%       DUMMY=`test -d linux-br || mkdir linux-br`
%       :0:
%       * ^[EMAIL PROTECTED]
%       linux-br/`date +%Y-%m`

That part looks fine.  I'm sure, too, that these could be combined into
one, but I'm too lazy to look that up just now :-)


% 
% Thanks.

HTH & HAND


% 
% Romildo
% -- 
% Prof. José Romildo Malaquias <[EMAIL PROTECTED]>
% Departamento de Computação
% Universidade Federal de Ouro Preto
% Brasil


:-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

Reply via email to