procmail
[Top] [All Lists]

Two variable assignments on one line?

1998-08-23 04:20:19
Okay, I know it seems silly, but is there a way to get procmail to
do two commands, in this case, variable assignments, on one line?  I'm
trying to do

:0
* foo(bar)+\/b(az)?
{ XXX=$MATCH && YYY="foofoo" }

Consider the && pseudocode.  Is there a way to do this all on one line,
as opposed to
{ XXX=$MATCH
  YYY=foofoo } 
or however else I can think of to do it?

Regards,

Greg
-- 
Gregory S. Sutter                 Bureaucrats cut red tape -- lengthwise.
mailto:gsutter(_at_)pobox(_dot_)com
http://www.pobox.com/~gsutter/
PGP DSS public key 0x40AE3052

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