Shellcheck tells us "-n doesn't work with unquoted arguments. quote or use [[ ]]." And testing shows: ``` docker run --rm -it ubuntu bash root@fe85ce156856:/# [ -n $DOES_NOT_EXIST ] && echo "I ran" I ran root@fe85ce156856:/# [ -n "$DOES_NOT_EXIST" ] && echo "I ran" root@fe85ce156856:/# ``` Closes #5773 |
||
|---|---|---|
| .. | ||
| travis | ||
| completion.pl | ||
| contributors.sh | ||
| contrithanks.sh | ||
| copyright.pl | ||
| coverage.sh | ||
| delta | ||
| installcheck.sh | ||
| log2changes.pl | ||
| Makefile.am | ||
| release-notes.pl | ||
| singleuse.pl | ||
| updatemanpages.pl | ||