procmail
[Top] [All Lists]

conditions based on variables

2005-09-23 07:36:49
From within procmailrc, among other things, I would like to
execute a command based on a condition using procmail variables.

NUM_FILES=`ls /tmp/* | wc -l `

#pseudo code
:0
* NUM_FILES > 1
| mycommand

Can this be done somehow?

____________________________________________________________
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

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