From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from apollo.le.ac.uk ([143.210.16.125]) by hawkwind.utcs.toronto.edu with SMTP id <26473>; Tue, 23 May 2000 19:01:29 -0400 Received: from happy.star.le.ac.uk ([143.210.36.58]) by apollo.le.ac.uk with smtp (Exim 3.13 #2) id 12tnxP-0000R9-00 for rc@hawkwind.utcs.toronto.edu; Mon, 22 May 2000 09:53:03 +0100 Received: (qmail 8574 invoked from network); 22 May 2000 08:53:24 -0000 Received: from ltpcg.star.le.ac.uk (tjg@143.210.36.203) by happy.star.le.ac.uk with SMTP; 22 May 2000 08:53:24 -0000 To: rc@hawkwind.utcs.toronto.edu In-Reply-To: <200005220755.JAA01026@trillian.softwell.se> Subject: Re: ifs substitution, how should it work? Date: Mon, 22 May 2000 04:53:01 -0400 From: Tim Goodwin Message-ID: > i wanted > x = asd > and > y = (asd) > to mean that x and y where not identical. No, no, no. There is just one data type in rc: a list of strings. You might sometimes think you've got a string, but you haven't: you've got a list with one element. Now, when ifs is used, the list of strings that it holds is interpreted as a set of characters. I agree with you that the documentation should be a bit clearer on this point: the man page doesn't seem to mention anywhere what happens when ifs is a more-than-one element list. Tim.