diff --git a/SC2055.md b/SC2055.md index 33abfe0..5f455aa 100644 --- a/SC2055.md +++ b/SC2055.md @@ -38,4 +38,12 @@ This statement is identical to `! [[ $1 = foo || $1 = bar ]]`, which also works ### Exceptions -Rare. \ No newline at end of file +Rare. + +* If I want to check that $FOO, $BAR and $COW are all equal: +``` +if [[ $FOO != $BAR || $FOO != $COW ]] +then + echo "$FOO and $BAR and $COW are not all equal" +fi +``` \ No newline at end of file