-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC1029
James Morris edited this page Nov 13, 2023
·
2 revisions
[[ -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.