procmail
[Top] [All Lists]

Re: Two variable assignments on one line?

1998-08-23 13:19:31
On Sun, Aug 23, 1998 at 11:55:26AM -0500, Philip Guenther wrote:
Gregory Sutter <gsutter(_at_)pobox(_dot_)com> writes:
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

I'm sorry, but you're trying to make it too complicated.  Just put both
assignments on the same line, no syntactical glue needed:

      { XXX=$MATCH  YYY="foofoo" }

Argh!  

Thanks, Philip.

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>