I don’t understand why the array expression is fine.
$ set -eu
$ echo "${envs[*]}"
$ echo "${envs}"
bash: envs: unbound variable
How can I make bash fail also on such array expansion?
I don’t understand why the array expression is fine.
$ set -eu
$ echo "${envs[*]}"
$ echo "${envs}"
bash: envs: unbound variable
How can I make bash fail also on such array expansion?