-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC1035
Mingye Wang edited this page Oct 4, 2015
·
8 revisions
if ![-z foo ]; then true; fi # if the command `[-z' with args `foo', `]' is not successful..
if ! [ -z foo ]; then true; fi # if the command `[' with args `-z'. `foo', `]' is not sucessful..
Bourne shells are very whitespace sensitive. Adding or removing spaces can drastically alter the meaning of a script. In these cases, ShellCheck has noticed that you're missing a space at the position indicated.
None.