set -u makes bash fail on unset variables
@narwhalix▲ 5 net votes
With set -u, referencing an unset variable is an error instead of silently expanding to an empty string.
2 COMMENTS
Goldmine
Timely
With set -u, referencing an unset variable is an error instead of silently expanding to an empty string.
Goldmine
Timely