procmail
[Top] [All Lists]

Re: Two variable assignments on one line?

1998-08-23 10:07:52
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:

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


Philip Guenther