That's a superb reference page, by the way; appreciate the link. I do know most of what's there, but it's always awesome to have compilations of useful use-case's and fixes of common caveats/pitfalls.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Latest comments (2)
$ [[ x == x ]] || [[ x == y ]] && [[ x == y ]]
$ echo $?
1
$ [[ x == x || x == y && x == y ]]
$ echo $?
0
Outside of [[ ]], && and || have equal pressidence.
That's a superb reference page, by the way; appreciate the link. I do know most of what's there, but it's always awesome to have compilations of useful use-case's and fixes of common caveats/pitfalls.