On Fri, 21 Jul 2000, Eric Smith wrote:
|formail -x From: -x Subject:  |/usr/local/bin/script.pl
Ideally I would like the output of formail to be accesible in the
@ARGV array in my script.pl rather than on STDIN (which is clumsy).
:0
{
  :0
  * ^From: \/
  { From=$MATCH }
  :0
  * ^Subject: \/
  { Subject=$MATCH }
  :0
  | /usr/local/bin/script.pl $From $Subject
}
Or something like that. :-)
How would I do that?
As with most of the questions I would say: read the manpages...
But as I am a problemsolver...
-- 
Heuristics are bug ridden by definition.
If they didn't have bugs, then they'd be algorithms.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail