Is it possible to have an 'Option' to make '[[' compatible
with '[', w/rt pathname expansion?

It seems counter-intuitive to have:

d="/etc/rc.d/rc5.d"
if [[ ! -e $d/S??sshd ]]; then echo "sshd not enabled"; fi

give different output than:

if [ ! -e $d/S??sshd ]; then echo "sshd not enabled"; fi

or is a 'compatibility option', something that would be technically
impossible?





Reply via email to