:0
* -1^0
* $ $RC^0
{ ONE_OR_MORE = yes } # Return code is > 1
Sigh. Above, the variable MORE_THAN_ONE would be a much better choice
than the misleading ONE_OR_MORE. Final rewrite:
:0
* ! ? razor-check
{
RC=$?
:0
* -1^0
* $ $RC^0
{ RC_MORE_THAN_ONE = yes } # Return code is > 1
:0
* RC ?? ^^1^^
{ RC_EXACTLY_ONE = yes } # Return code is exactly 1
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail