procmail
[Top] [All Lists]

Re: Using variables in recipes

2007-06-08 13:18:08
Dallman Ross wrote:
FOO = `ls -tAF | grep -v / | head -1`  # newest file in current dir

But that is still not an "action," in procmail parlance, but rather
a variable assignment.

Variable assignments, you can have anywhere, except not in the midst
of recipes.[1]

Thanks Dallman, that is exactly the answer I was looking for.

Steve
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail