procmail
[Top] [All Lists]

Re: filter read mails

2005-05-19 00:46:04
On Wed, 18 May 2005, Google Kreme wrote:

formail +1 -z -cx From: -cX Status: -cx Subject: -s sed '1,1s/["\\]//g;
2,2s/^/-> /; $G' < /var/mail/claus | egrep -B3 "Status: O"

works, but is not what you wanted.  As soon as I throw a -v in there it stops
working

True. "Status: O" does not work for cases that do not have a status
line. That's a problem, because they do not show up in the list.
Anyway, thanks for your help, also to all others!

perhaps my grep is old:

 % grep -V
grep (GNU grep) 2.4d

I have 2.5.1 and the same results.

Greetings,
Claus

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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