procmail
[Top] [All Lists]

Re: double command

2000-07-27 11:55:44
Rob Bringman asked,

| How do I do the following without running my external command twice?

| LIST=`formail -x Subject: -x To: -x Cc: -x Sender: -x From: | 
$HOME/bin/mygrep.plx`
| :0:
| * ? (formail -x Subject: -x To: -x Cc: -x Sender: -x From: | 
$HOME/bin/mygrep.plx)
| Lists/$LIST

This might do it:

 :0hw
 LIST=|formail -xSubject: -xTo: -xCc: -xSender: -xFrom: | $HOME/bin/mygrep.plx

  :0a:
  Lists/$LIST


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