-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2109
Joachim Ansorg edited this page Nov 12, 2021
·
4 revisions
[ "$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.