delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/26/08:12:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42E6287C.4020503@byu.net>
Date: Tue, 26 Jul 2005 06:11:40 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Victor Atkinson <atkinson AT syrres DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Bash behavior change 2.05b-17 vs 2.05b-16
References: <auto-000001147377 AT apollos DOT syrres DOT com>
In-Reply-To: <auto-000001147377@apollos.syrres.com>
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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019