[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RFE: make [[ compatible with [ 'Option'?
From: |
Linda Walsh |
Subject: |
RFE: make [[ compatible with [ 'Option'? |
Date: |
Mon, 28 Mar 2011 10:53:21 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 |
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?
- RFE: make [[ compatible with [ 'Option'?,
Linda Walsh <=