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

Strange associative array stuff in pws-9



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