On Tue, Oct 17, 2023 at 8:00 AM Greg Wooledge <g...@wooledge.org> wrote:
> unicorn:~$ unset -v a b c array > unicorn:~$ a=b b=c c=42 array[a]=foo; declare -p array > declare -a array=([42]="foo") > What? What is Bash doing here? Dereferencing iteratively until it finds something it can do arithmetic with?