On Sat, Oct 18, 2025 at 8:49 PM Greg Wooledge <[email protected]> wrote:
>
> It definitely needs the nameref
> to be present.  Otherwise, you just get:
>
> hobbit:/tmp$ x*y
> bash: x*y: command not found
> hobbit:/tmp$ x[1][2]=3
> bash: x[1][2]=3: command not found

$ declare -p BASH_VERSION
declare -- BASH_VERSION="5.2.37(2)-release"
$ x*y
-bash: no match: x*y
$ x[1][2]=3
-bash: no match: x[1][2]=3
$ ./bash
$ declare -p BASH_VERSION
declare -- BASH_VERSION="5.3.0(1)-maint"
$ x*y
bash: no match: x*y
$ x[1][2]=3
bash: no match: x[1][2]=3

My shell is in POSIX mode, but turning that off doesn't seem to make a
difference.

Reply via email to