(
or )
inside [[..]]
SH-1029You don't have to -- and can't -- escape (
or )
inside a [[ .. ]]
expression like you do in [ .. ]
.
It is recommended remove the escaping.
Problematic code:
[[ -e ~/.bashrc -a \( -x /bin/dash -o -x /bin/ash \) ]]
Correct code:
[[ -e ~/.bashrc -a ( -x /bin/dash -o -x /bin/ash ) ]]