delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/26/08:09:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=d2QfRrEQV8g1ExJR
lreHNuyDRBBtz8HF86193GzJjtlNg/8QKTfTJGoRLZf7jhwbV1hMEx/X+fhzdIkx
ZHh4OTux/XvEm/yD5xa0xo/NnEMPDcg1EOJSzURmG4kST+uIgFR9a/o5sPLikW0H
OcoiMvyMIX5ZzV0cwNt32GHSKag=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=UzmA7qBmS3IwtMEJdy8cPR
2aZMg=; b=Mk3/n0dTdtIM2JAP9oMqRItBLKFzmiMS8Y2feVk/mGQPl8/3xaf0UK
KcazRHnoul4OILk9BFi+24gxs+irflcgJWiHTJZ8HV2nmRXLFZiscS7Sbvi3ibLF
pTVXgzjt3BLw8QCClX1qgtyyAi8fPtQe1jVQVqkBMsDOlStG59d7g=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:stargat, H*i:sk:1438370, H*f:sk:1438370, H*MI:sk:1438370
X-HELO: stargate.mehconsulting.com
Subject: Re: The Cygwin User Guide on path names
To: cygwin AT cygwin DOT com
References: <6a728c0c-81e8-b92b-8344-476d736e2306 AT cornell DOT edu> <803530117 DOT 20160824125116 AT yandex DOT ru> <57BF15C7 DOT 40104 AT tlinx DOT org> <1438370398 DOT 20160826055312 AT yandex DOT ru>
Newsgroups: gmane.os.cygwin
From: Mark Hansen <cygwin AT mehconsulting DOT com>
Message-ID: <41bbca20-2b04-abba-4329-aefa7600cd13@mehconsulting.com>
Date: Fri, 26 Aug 2016 05:09:11 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <1438370398.20160826055312@yandex.ru>

On 8/25/2016 7:53 PM, Andrey Repin wrote:
> Greetings, Linda Walsh!
>
>> Andrey Repin wrote:
>>> Greetings, Ken Brown!
>>>
>>>> The documentation also says, "The usage of Win32 paths, though possible,
>>>> is deprecated...."  I wonder if this should be strengthened to say
>>>> something like, "The usage of Win32 paths, though possible, is strongly
>>>> deprecated and may be removed in a future release of Cygwin."
>>>
>>> That would be the day Cygwin die for me.
>>> --
>>> With best regards, Andrey Repin
>>> Wednesday, August 24, 2016 12:50:55
>>> Sorry for my terrible english...
>> ---
>
>> Curious -- but why?  How do you make use of win32 pathnames
>> ( "C:\bin" versus "/bin" or "/c/bin" or "/cygdrive/c/bin" )
>> depending on how your cygwin is configured).
>
> I make use of win32 paths directly.
> diff and grep are the most used tools.
>
>> I'm wondering if maybe there is a misunderstanding?
>
> I don't think so.
>
>> For the most part -- many cygwin apps may not work
>> correctly if given a win32 path in the same place you'd
>> put a *nix path due to the backslashes being turned into
>> quote sequences.
>
> That's too bad for such poor apps.
>
>> I mean, you can't type:
>
>>> ls C:\bin
>>   (instead of )
>>> ls /c/bin

Can we differrentiate between C:/bin and C:\bin?

I've always used C:/bin. Using drive identifiers and UNIX-style path separators.

Is the proposal that this no longer be valid under cygwin?

--
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