Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Message-ID: <42E6287C.4020503@byu.net>
Date: Tue, 26 Jul 2005 06:11:40 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Victor Atkinson <atkinson@syrres.com>
CC: cygwin@cygwin.com
Subject: Re: Bash behavior change 2.05b-17 vs 2.05b-16
References: <auto-000001147377@apollos.syrres.com>
In-Reply-To: <auto-000001147377@apollos.syrres.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Victor Atkinson on 7/25/2005 1:23 PM:
> I believe that it is Bash itself that is causing this behavior, and not some
> underlying Cygwin mechanism, for two reasons:  First, the backslash format
> of the command works fine under zsh, tcsh, and csh.  Second, backslashed
> paths work fine under Bash, if used as parameters to built-in commands like
> cd, or external commands like wzzip.exe.

Indeed, bash was following the letter of the law of POSIX - it invokes a
PATH search unless the first non-assignment word of the command includes a
'/'.  So in bash-3.0-10, I will patch that to also skip path searches if
the command starts with <letter>: or includes '\\'.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5ih884KuGfSFAYARAjeHAJ9izHilVNOdGmbhw9QTU/sacPeD+QCgqbE7
3uPCAPW7QFIngBBJGnOhC3U=
=6JNS
-----END PGP SIGNATURE-----

--
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/

