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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=kiCQiLqSG/wWWuou P/H/9sJ6nGsgCric6peH56GGB9iJrUSrthjd5r7Wcc4od/+iNQT54JcA1DwEGCmU eI4my1ouA3RJqptFaN6QOTvGXG3yIhm3fwWdU9pD48pV53yO+EqBs+ndcdc5NTlE tct2kgGk3AF+/uubpRpsAxfELyA= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=W30mqEUt7TBn3QXiJZ7VIe IX1Ds=; b=BrZBbGLa3NZDrfgmqkyXKEJ0o1rFXdr8pXoj3WYGaUV3SgbH/kce7b t2g2uhaeuKklNqQ0WAsG1DRdFHFjzaNgwFuwQNBm2CBiH+5HUiJ1DawLSXfeNFOK KCGeyIRCA7PIKovhPrE5wZlrDLVQJsBwTUzmNCapy717hPpxnmDsQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, yandexru, UD:yandex.ru, yandex.ru X-HELO: forward3j.cmail.yandex.net Authentication-Results: smtp3m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Fri, 26 Aug 2016 15:32:22 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1647564591.20160826153222@yandex.ru> To: Mark Hansen , cygwin AT cygwin DOT com Subject: Re: The Cygwin User Guide on path names In-Reply-To: <41bbca20-2b04-abba-4329-aefa7600cd13@mehconsulting.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> <41bbca20-2b04-abba-4329-aefa7600cd13 AT mehconsulting DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Mark Hansen! > 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? There's (hopefully) no such proposal. Only a warning that it may not work in all cases. Also, @ Linda, the string escaping is done by the shell before passing arguments to the command, as I understand. If I'm starting an application not from shell, the app, being a good citizen, should not second-guess the arguments it is given. -- With best regards, Andrey Repin Friday, August 26, 2016 15:29:53 Sorry for my terrible english... -- 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