Bash’s treatment of empty associative arrays when set -o nounset
is in effect is infuriating.
Worked around it by putting a bogus value in the array so that it is never empty.
Music-obsessed software geek. One of Breakmaster Cylinder’s Internet weirdos. He/him.
Bash’s treatment of empty associative arrays when set -o nounset
is in effect is infuriating.
Worked around it by putting a bogus value in the array so that it is never empty.