From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lsuc.lsuc.on.ca ([142.57.1.101]) by archone.tamu.edu with SMTP id <18896>; Sun, 27 Oct 1991 09:37:45 -0600 Received: by lsuc.lsuc.on.ca (/\==/\ Smail3.1.21.1 #21.20) id ; Sun, 27 Oct 91 10:26 EST Received: by golem.uucp (/\==/\ Smail3.1.22.1 #22.12) id ; Sat, 26 Oct 1991 20:53 -0400 Message-Id: To: rc@archone.tamu.edu Subject: matching "nothing" seems to be broken Date: Sat, 26 Oct 1991 19:52:59 -0500 From: "David J. Fiander" I'm having a slight problem. I want to be able to check to see if a variable is either not set, or set to the empty string, so I write if (~ $foo () '') echo all clear The problem is that the list of words to compare $foo to is not being evaluated properly (or at least I don't think so). The () is being removed for some reason, so 'rc -x' reports the test "~ $foo ''". However, the test "~ $foo ()" works; it is only parsed wrong when the list of words to compare against is longer than one. Has anybody else seen this?