Pattern: Escaped (
or )
in [[..]]
Issue: -
You don't have to (
or )
inside a [[ .. ]]
expression like you do in [ .. ]
. Just remove the escaping.
Example of incorrect code:
[[ -e ~/.bashrc -a \( -x /bin/dash -o -x /bin/ash \) ]]
Example of correct code:
[[ -e ~/.bashrc -a ( -x /bin/dash -o -x /bin/ash ) ]]