delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/10/11:26:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: "'Bernard Dautrevaux'" <Dautrevaux AT microprocess DOT com>,
<cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: BUG: Invalid assumption about file paths beginning with '\'
Date: Tue, 10 Oct 2000 11:30:26 -0400
Message-ID: <000601c032cf$1e0902e0$8837ba8c@nhv>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
In-Reply-To: <17B78BDF120BD411B70100500422FC6309E121@IIS000>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Importance: Normal

Bernard Dautrevaux writes:

Norman Vine wrote:
>> 
>> Earnie Boyd writes:
>> 
>> >Well, as Chris corrected, the current 1.1.4 release does allow the \
>> >reference to refer to the root of the current device.  
>> 
>> Yes, however this feature may not always yield the 'expected' result.
>> 
>> NHV:/f> mkdir foo
>> NHV:/f> cd foo
>> NHV:/f/foo> touch jnk
>> NHV:/f/foo> ls \foo
>
>Don't you think you must:
>	ls \\foo 
>or
>	ls '\foo'
>here? You've in fact typed 
>	ls foo
>as \f is translated to f by bash...

Exactly !

I was just trying to point out that a non-unix savy user who
'might' naively rely on MSDos path specifications might not 
always get what they expected.

Hence my echoing of Ernie's advice :-)

>> >Let me suggest that in order to make your life easier that you
>> >use Cygwin POSIXly.

Cheers

Norman
 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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