Clever, Dallman.
DRYRUN = -0.00001 # de minimus negative decimal number
Wouldn't -1 do just as well?
More generally:
DRYRUN = -0.00001 # de minimus negative decimal number
ALIST = "choco:vanilla" # a list that will be reparsed
:0
* $ $DRYRUN^0 ALIST ?? ^^\/[^:]+
* 9876543210^0 one condition
* $ $DRYRUN^0 ALIST ?? :\/.+^^
* 9876543210^0 alternative condition
$MATCH
The limitation is that the various desired actions must be all saves to
folders or all writes to commands; you can't have some of both. Also,
the same colon-line flags must apply to both or all possible evaluations
of the action line.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail