On Tue, 26 May 1998, Tom Betz wrote:
ALTDNSDOM=`cat $HOME/.procmail/altdnsdom | tr '\012' '|'`
being empty, which results in
:0
* $^(From:|Received:).*(@|\.)(${ALTDNSDOM})
registering a false match on every message.
2) Is there a way that I can identify "empty set" situations
so that false matches caused by them can be avoided?
If ${ALTDNSDOM} is in any danger of being empty, you could use variable
substitution to ensure that if empty, a non-matching string is substituted.
${ALTDNSDOM:-^^^^^}
David H.