www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/14/14:54: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://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 14 Feb 2003 14:53:47 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Zsh filename completion sluggishness?
Message-ID: <20030214195347.GA11760@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0302132230380 DOT 9273-100000 AT gremlin DOT fruitbat DOT org> <874r76ss4p DOT fsf AT squeaker DOT lickey DOT com> <20030214180959 DOT GA19962 AT redhat DOT com> <87y94ir9m9 DOT fsf AT squeaker DOT lickey DOT com>
Mime-Version: 1.0
In-Reply-To: <87y94ir9m9.fsf@squeaker.lickey.com>
User-Agent: Mutt/1.5.1i

On Fri, Feb 14, 2003 at 11:38:06AM -0700, Matt Armstrong wrote:
>Christopher Faylor <cgf-cygwin AT cygwin DOT com> writes:
>
>> On Fri, Feb 14, 2003 at 10:12:54AM -0700, Matt Armstrong wrote:
>>>In the Win32 world, quotes around path elements are valid.  If I have:
>>>
>>>    PATH="c:\foo bar"
>>>
>>>cmd.exe will find executables in that dir.
>>>
>>>When I run bash or zsh, things in "c:\foo bar" aren't found.
>>
>> This is a UNIX emulation environment.  "c:\foo bar" doesn't mean the c drive
>> in a PATH variable.  It means the 'c' directory followed by the '\foo bar'
>> directory.  Colon is the separator for PATH.
>>
>> The correct syntax for the above is PATH="/cygdrive/c/foo bar" .
>
>I understand completely -- as I said somewhat ambiguously I was
>setting the path to "c:\foo bar" in cmd.exe, then running bash.
>
>When Cygwin initializes its PATH from the Win32 one, it doesn't handle
>quoted elements properly.
>
>E.g. cygwin converts the Win32 path like this:
>
>    c:\foo;"c:\bar" -> /cygdrive/c/foo:"c:\bar"
>
>But it should do this:
>
>    c:\foo;"c:\bar" -> /cygdrive/c/foo:/cygdrive/c/bar

Ah, sorry.  I see what you're saying now.

Yes, that's "arguably" a bug.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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