mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-03-12 12:35:25 -07:00
Updated SC2055 (markdown)
parent
70fa04b8b8
commit
eb5c97f3d9
@ -41,7 +41,7 @@ This statement is identical to `! [[ $1 = foo || $1 = bar ]]`, which also works
|
||||
Rare.
|
||||
|
||||
* If I want to check that $FOO, $BAR and $COW are all equal:
|
||||
```
|
||||
```sh
|
||||
if [[ $FOO != $BAR || $FOO != $COW ]]
|
||||
then
|
||||
echo "$FOO and $BAR and $COW are not all equal"
|
||||
|
Loading…
x
Reference in New Issue
Block a user