procmail
[Top] [All Lists]

Re: set but null

2003-09-21 04:30:01
On Sat, Sep 20, 2003 at 05:42:52PM -0500, David W. Tamkin wrote:
I said that the way to test whether a variable is set but null is,

: * $ !${VAR+!}${VAR:+!}

Dallman requested an explanation.  OK.

The condition asks for $-interpretation, so let's $-interpret it.

[snip]

Most excellent!  Thank you, David, for another little bit of
genius; even if a rerun for you.

Dallman

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