We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
[ a || b ]
[ a ] || [ b ]
[ "$1" = "-v" || "$1" = "-help" ]
[ "$1" = "-v" ] || [ "$1" = "-help" ]
|| cannot be used in a [ .. ] test expression. Instead, make two [ .. ] expressions and put the || between them.
||
[ .. ]
None.
ShellCheck
Installation
Usage
Integrating and extending
Severity
Template
Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.