From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from plan9.cs.bell-labs.com ([204.178.31.2]) by hawkwind.utcs.toronto.edu with SMTP id <26277>; Sun, 21 May 2000 00:42:30 -0400 From: "Russ Cox" Date: Fri, 19 May 2000 18:10:01 -0400 To: rc@hawkwind.utcs.toronto.edu, tjg@star.le.ac.uk Subject: Re: ifs substitution, how should it work? MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <00May21.004230edt.26277@hawkwind.utcs.toronto.edu> Introducing contexts where singleton lists and strings are not identical seems a very bad idea. Then you have to explain that in general they are but ifs isn't; and what if save ifs away to another variable and then restore it? What does "x=(abc); ifs=$x" do? If you want basename, why not use basename or sed or awk? Russ