Skip to content

Conversation

Explorer09
Copy link

@Explorer09 Explorer09 commented May 5, 2018

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

(https://mywiki.wooledge.org/BashFAQ/112)

…t_null()

` 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`

(https://mywiki.wooledge.org/BashFAQ/112)

Signed-off-by: Kang-Che Sung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant