-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2108
koalaman edited this page Aug 16, 2015
·
3 revisions
In .., use && instead of -a.
[[ "$1" = "-v" -a -z "$2" ]]
[[ "$1" = "-v" && -z "$2" ]]
-a
for logical AND is not supported in a [[ .. ]]
expression. Use &&
instead.
None.