This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: BUG: Invalid assumption about file paths beginning with '\'
- 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 '\'
- From: "Norman Vine" <nhv at cape dot com>
- Date: Tue, 10 Oct 2000 11:30:26 -0400
- Reply-To: <nhv at cape dot com>
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@sourceware.cygnus.com