Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Strange associative array stuff in pws-9
- X-seq: zsh-workers 5446
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Strange associative array stuff in pws-9
- Date: Sat, 20 Feb 1999 17:17:34 -0800
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Has it always been like this?
zagzig% typeset -A foo
zagzig% foo[a,b,c]=bar
zagzig% echo $foo
bar
zagzig% echo $foo[a,b,c]
bar[a,b,c]
zagzig% echo ${foo[a,b,c]}
bar
zagzig% echo $foo['a,b,c']
['a,b,c']
zagzig%
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author