procmail
[Top] [All Lists]

Re: Executing programs in a procmail script

2001-12-10 11:45:18
When I wrote,

T> There's no need to preset DUMMY to null; just use an unset variable.

Martin replied,

M> Right - but setting the variable to null first guarantees that it is an
M> unset variable.

If you set it to null, it's not unset.  It still feeds nothing to the
command, and that's good, but it does clog up the environment.

If you want to be positive that it's unset, then unset it; don't set it to
null.  Personally, I call the variable "unset" rather than something like
"DUMMY"; a person can use $DUMMY for something else, leaving it set, and
then need to unset it, but one would never set $unset.  That way I don't
have to be concerned about unsetting it.



_______________________________________________
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>