On Mon, Feb 16, 2015 at 03:04:49AM +0100, emanuelczi...@cryptolab.net wrote: > please see attached bash script to reproduce because that explains > it much better than I could in words.
The argument you give to let should be quoted. imadev:~$ declare -A ar imadev:~$ idbad1="bad string" imadev:~$ let "ar[$idbad1]+=11" imadev:~$ declare -p ar declare -A ar='(["bad string"]="11" )'