On Sat, May 27, 2017 at 2:07 PM, 林博仁 <buo.ren....@gmail.com> wrote:
[...]

Please read the discussions in
https://lists.gnu.org/archive/html/bug-bash/2016-06/msg00067.html and
https://lists.gnu.org/archive/html/bug-bash/2014-11/msg00099.html

When you use an associative array without an explicit subscript, it'll
refer to the element with key '0':

$ declare -A AA=(['0']=zero ['1']=one); echo "$AA"
zero

$ declare -A AA=(['1']=one); echo "$AA"
*empty*

Reply via email to