2019-06-24 10:16:34 -0400, Chet Ramey: [...] > Bash-5.0 patch 3 made some changes here; what version are you using? [...]
Just tried with the current head of the devel branch from today (5.0.7(5)-maint). In an empty dir: $ mkdir -m a=r readable $ mkdir -m a=x searchable $ bash5 -c 'printf "%s\n" */.' searchable/. $ bash5 -c 'printf "%s\n" */\.' readable/. $ bash5 -c 'printf "%s\n" */\./.' */./. $ a='*/\./.' bash5 -c 'printf "%s\n" $a' */\./. Those last two are different from the one I was trying before (5.0.7(4) IIRC) which were (correctly) returning searchable/./. That's more consistent now in its wrongness. -- Stephane