Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh -n does not detect incorrect associative array declaration
On Wed, 23 Mar 2016 19:08:30 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> I'd forgotten that bash even supports that syntax, but in any case it
> does change the type in ksh.
>..
> Bash allows you to set numerically-indexed positions in a normal array
> with the ( [key]=value ) syntax, and also outputs the arrays that way
> with "typeset -p". You can have sparse arrays in bash.
We probably need to decide which to support at some point.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author