From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay2.UU.NET ([192.48.96.7]) by hawkwind.utcs.toronto.edu with SMTP id <2060>; Wed, 15 Sep 1993 17:14:10 -0400 Received: from spool.uu.net (via LOCALHOST) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA25272; Wed, 15 Sep 93 17:14:03 -0400 Received: from srg.UUCP by uucp3.uu.net with UUCP/RMAIL (queueing-rmail) id 171301.1389; Wed, 15 Sep 1993 17:13:01 EDT Received: from ceres.srg.af.mil by srg.srg.af.mil id aa03038; Wed, 15 Sep 93 17:03:25 EDT From: culliton@srg.af.mil (Tom Culliton x2278) X-Mailer: SCO System V Mail (version 3.2) To: culliton@srg.srg.af.mil, mycroft@duality.gnu.ai.mit.edu Subject: Re: list operators Cc: malte@techfak.uni-bielefeld.de, rc@hawkwind.utcs.toronto.edu Date: Wed, 15 Sep 1993 17:04:08 -0400 Message-Id: <9309151704.aa26993@ceres.srg.af.mil> >> ; x = ( 1 2 3 4 5 ) >> ; y = $x(-3) # all members except 3 > >Having that be `all members except the 3rd one' would be okay. Having >it be `all members except the one that matches the string `3'' would >be gross. The latter requires a different syntax. Agreed, that was my intention, to exclude the 3rd element. ; x=(a b c d e) ; echo $x(-1 -5) b c d It's probably/hopefully just academic anyways. We really shouldn't be making changes like this to rc at this point in the game.