From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17525 invoked from network); 11 Aug 1998 09:46:07 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 11 Aug 1998 09:46:07 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id FAA26752; Tue, 11 Aug 1998 05:30:21 -0400 (EDT) Resent-Date: Tue, 11 Aug 1998 05:30:21 -0400 (EDT) Sender: B.Stephens@isode.com To: zsh-workers@math.gatech.edu Subject: Re: sorting/uniq-ing an array? References: <19980809025636.18149@astaroth.nit.gwu.edu> <980809044123.ZM19065@candle.brasslantern.com> <19980809123608.01170@astaroth.nit.gwu.edu> <980810085553.ZM27103@candle.brasslantern.com> <35CF1EDF.4728CD91@sni.de> <199808101632.RAA32056@diamond.tao.co.uk> <980810111340.ZM27558@candle.brasslantern.com> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Bruce Stephens Date: 11 Aug 1998 10:31:59 +0100 In-Reply-To: "Bart Schaefer"'s message of "Mon, 10 Aug 1998 11:13:40 -0700" Message-ID: X-Mailer: Gnus v5.6.27/XEmacs 20.4 - "Emerald" Resent-Message-ID: <"vxyO1.0.xX6.jy0qr"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4295 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu "Bart Schaefer" writes: > Standard linked pairs of arrays and colon-arrays behave that way, > yes. I'm not (yet) suggesting adding that sort of linkage. I'm > interested only in being able to declare a colon-array variable. > For example, I can't think of any reason to create ld_library_path > as an array. Being able to create new special variables would be sufficient for this specific case. I was playing around with a variety of installed Tcl libraries, and it was handy to change my LD_LIBRARY_PATH quite a lot interactively. There wouldn't be any problem with having an ld_library_path which is an array (in exactly the same way that path/PATH and things are set). Indeed, arrays have some nice syntax in zsh, which might be convenient. Or are you suggesting using the same syntax for colon-arrays?