diff --git a/SC2236.md b/SC2236.md index 0349b20..8191745 100644 --- a/SC2236.md +++ b/SC2236.md @@ -35,4 +35,5 @@ This is a stylistic issue that does not affect correctness. If you prefer the or ### Related resources: * Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc! -* [Bash reference manual for -z and -n](https://www.gnu.org/software/bash/manual/html_node/Bash-Conditional-Expressions.html#Bash-Conditional-Expressions). \ No newline at end of file +* [Bash reference manual for -z and -n](https://www.gnu.org/software/bash/manual/html_node/Bash-Conditional-Expressions.html#Bash-Conditional-Expressions). +* Note: Be careful with quoting variables (which you should always do anyway): `[ ! -z $var ]` might work, but `[ -n $var]` will not. `[ -n "$var" ]` will do what you expect. \ No newline at end of file