[..](..)
you
shouldn't escape (
or )
.[[ -e ~/.bashrc && \( -x /bin/dash || -x /bin/ash \) ]]
[[ -e ~/.bashrc && ( -x /bin/dash || -x /bin/ash ) ]]
You don't have to -- and can't -- escape (
or
)
inside a [[ .. ]]
expression like you do in
[ .. ]
. Just remove the escaping.
None.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.