[Top][All Lists]

[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: Thunderbird/ Mnenhy/

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

It seems counter-intuitive to have:

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]