Ruud H.G. van Tol wrote:
(1)
:0
* VAR ?? ^^-\/[0-9]+
*$ $MATCH ^ 0
{ VAR = "$=" }
:0E
*$ -$VAR ^ 0
{ VAR = "$=" }
Those look like just extra load over Gary's suggestion.
Dallman Ross wrote,
I wonder if HOST could ever be one char long. I was going to say
that a value that's there in modern procmail that's usually shorter
than HOST and always at least two (three) could be LINEBUF.
However, one can reset it to zero; while, as you know,
resetting the host will end the procmail session.
LINEBUF and LOGNAME can also be unset; you can't screw with the value of
HOST. If you're concerned, you can always set
DUO='..'
and use
* $ $VAR^-2 DUO ?? .
as the condition; that, of course, has no significant difference from
Ruud's second suggestion, since it also requires presetting a variable.
____________________________________________________________
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