3 ms·
re: Bash "strict mode", the shell options are fine but resetting IFS blows the weirdness budget for a default. You can get saner splitting for that loop over t
by tomjakubowski 6y ago
re: Bash "strict mode", the shell options are fine but resetting IFS blows the weirdness budget for a default.
You can get saner splitting for that loop over the array by quoting the array expansion:
for name in "${names[@]}"
Shellcheck lints that, by the way.