X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <489C62E9.2020604@cygwin.com>
Date: Fri, 08 Aug 2008 11:14:49 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080723 Remi/2.0.0.16-1.fc5.remi Lightning/0.8 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bash builtin "test" kills bash on Win 2003 Server R2 x64 (some    hardware)
References: <2AF7DD0CE564C24EBACDABFAE55CC642042863D3@srv.odcnet.local>  <489B470D.3000004@cygwin.com> <Pine.LNX.4.64.0808080018540.8379@tmcd.austin.tx.us>
In-Reply-To: <Pine.LNX.4.64.0808080018540.8379@tmcd.austin.tx.us>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

tmcd wrote:
> On Thu, 7 Aug 2008, Larry Hall (Cygwin)
>> But leaving that aside for the moment, perhaps you have a a
>> corrupted '/bin/[.exe'.  Yes, it's just a WAG that really shouldn't
>> be an issue but given your unique environment, maybe it's worth
>> checking.
> 
> I don't have the original note handy, but I thought it was of the form
>     if [ ... ]
> As the subject line noted, [ is a shell builtin in bash (and I think
> even in sh of recent decades), so I don't see how it could be affected
> by corruption of anything other than /bin/bash.exe.
> 
> If the original code was
>     if /bin/test ...
> or
>     if /bin/[ ... ]
> then it would be likelier.
> 

No argument here.  I also doubt that it has anything to do with [.exe
but since the behavior reported doesn't make allot of sense, I thought of
it as a pathological case that's easy to check.  I still suspect that it
has more to do with the environment than with bash/Cygwin.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

