Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: sorting/uniq-ing an array?
- X-seq: zsh-workers 4295
- From: Bruce Stephens <b.stephens@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: sorting/uniq-ing an array?
- Date: 11 Aug 1998 10:31:59 +0100
- In-reply-to: "Bart Schaefer"'s message of "Mon, 10 Aug 1998 11:13:40 -0700"
- References: <19980809025636.18149@xxxxxxxxxxxxxxxxxxxx> <980809044123.ZM19065@xxxxxxxxxxxxxxxxxxxxxxx> <19980809123608.01170@xxxxxxxxxxxxxxxxxxxx> <vbvho1xe7s.fsf@xxxxxxxxxxxxxxx> <980810085553.ZM27103@xxxxxxxxxxxxxxxxxxxxxxx> <35CF1EDF.4728CD91@xxxxxx> <199808101632.RAA32056@xxxxxxxxxxxxxxxxx> <980810111340.ZM27558@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: B.Stephens@xxxxxxxxx
"Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx> 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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author