Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How should I construct this?



On Wed, Apr 24, 2013 at 8:56 PM, TJ Luoma <tj@xxxxxx> wrote:
>
>
> On 24 Apr 2013, at 14:39, thomasg wrote:
>
>> What you want to use in a case like this are hashtables.
>> Basically this is a special array type, defined like this:
>
>
> Ooh, I _knew_ there had to be a way.
>
> Hashtables, eh? I've never used one of those before. Looking forward to
> playing with that.

Zsh calls this Associative Array btw., hashtable isn't technically
correct I guess (even though it looks like one :)

> (Have I mentioned that I've used zsh for ~20 years and feel like I'm only
> using 0.001% of what it can do? Stuff like this is why!)

Sometimes I think even the maintainers of zsh have to feel this way :)

> Thanks again
>
> TjL
>



Messages sorted by: Reverse Date, Date, Thread, Author