-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC1019
Vidar Holen edited this page Oct 11, 2018
·
1 revision
[ -x ]
[ -x "myfile" ]
ShellCheck has found a unary test operator that does not appear to be followed by a valid shell word.
This could be because of a misplaced ]
, )
, or a missing space before the ]
.
Check the syntax, make sure the test operator has an operand, and try again.
None.
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!