Re: if else1998-06-02 00:17:41|Fri 98-05-29 Philip Guenther <guenther(_at_)gac(_dot_)edu> list.procmail | The easiest way to check whether a variable is set (not just whether it | contains a non-empty value) is the following condition: | | * $ ! ${SPAM+!} I have found it more readable to use alternative: spam # kill variable See if variable is empty: * spam ?? ^^^^ See if variable is not empty * ! spam ?? ^^^^ Cheers! jari
|
|