delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/05/09:08:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B91105B.7050205@sidefx.com>
Date: Fri, 05 Mar 2010 09:08:27 -0500
From: Edward Lam <edward AT sidefx DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Eric Blake <ebb9 AT byu DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: dash-0.5.5.1-2; Obsolete: ash
References: <announce DOT 4A5C7A2B DOT 4020700 AT byu DOT net> <4B5860C9 DOT 50100 AT sidefx DOT com> <4B591221 DOT 10501 AT byu DOT net>
In-Reply-To: <4B591221.10501@byu.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Eric Blake wrote:
> According to Edward Lam on 1/21/2010 7:12 AM:
>> DOS file paths and dash seems to NOT support them
> 
> Huh?  Give an example.  dash supports DOS paths the same as bash.  That
> is, if the : doesn't already cause other problems (as in tar), then the
> DOS path is handed on to native windows (and you get the nodosfiles
> warning from cygwin1.dll on the first use).

Sorry for the slow reply on this one as I had just given up and gone 
from sh to bash. Here's a reproducible case (starting with bash as the 
initial shell).

$ cygcheck -c cygwin dash bash
Cygwin Package Information
Package              Version        Status
bash                 3.2.49-23      OK
cygwin               1.7.1-1        OK
dash                 0.5.5.1-2      OK
$ echo $CYGWIN
nodosfilewarning
$ bash
$ cd c:/
$ pwd
/c
$ export FOO=c:/windows
$ cd $FOO
$ pwd
/c/windows
$ cd c:/
$ pwd
/c
$ dash
$ export FOO=c:/windows
$ cd $FOO
cd: 2: can't cd to c:/windows
$ exit

We rely on being able to perform "cd $FOO" where FOO is a DOS file path 
and this used to work in the old ash.

Regards,
-Edward


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

- Raw text -


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