Skip to main content

New answers tagged

4 votes
Accepted

Treat unset variables as an error when substituting (set -u) ignores array expansion

The manual states (emphasis mine): ‘-u’ Treat unset variables and parameters other than the special parameters ‘@’ or ‘*’, or array variables subscripted with ‘@’ or ‘*\’, as an error when performing ...
Stéphane Chazelas's user avatar

Top 50 recent answers are included