I am seeing this potential regression on code checked out from https://git.savannah.gnu.org/git/bash.git at version ec8113b:

$ ./configure
$ make
$ echo "$BASH_VERSION"
5.2.15(1)-release

$ declare -A associative_array=([key]=~/Desktop)
$ ls -d "${associative_array[key]}"
ls: cannot access '~/Desktop': No such file or directory

but:

$ ls -d ~/Desktop
/home/marco/Desktop

On my previous version 5.1.4(1)-release the tilde expanded just fine.

Marco Ippolito
maroloc...@gmail.com

Reply via email to