Open Explorer09 opened 6 years ago
s/meta_util_is_parameter_set_and_not_null *\([A-Za-z_][0-9A-Za-z_]*\)/[ -n "${\1-}" ]/g
"${foo-}" won't error out upon set -o nounset
"${foo-}"
set -o nounset
(https://mywiki.wooledge.org/BashFAQ/112)
s/meta_util_is_parameter_set_and_not_null *\([A-Za-z_][0-9A-Za-z_]*\)/[ -n "${\1-}" ]/g
"${foo-}"
won't error out uponset -o nounset
(https://mywiki.wooledge.org/BashFAQ/112)