procmail
[Top] [All Lists]

Re: Documentation omission?

2003-08-04 13:51:49
Bennett Todd asked:

The docs say you can use
"!" to invert the sense of a test, and you can use "?" to use the
exitcode from a program, but I didn't see any mention of whether you
can use both together, or if so what order they should be used in.

Yes, you can. The exclamation point has to come first, because everything after the question mark is run as a command (or given to $SHELL if there's a character from $SHELLMETAS present).



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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