From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75438 invoked by alias); 26 Aug 2016 12:35:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 75427 invoked by uid 89); 26 Aug 2016 12:35:18 -0000 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 Received: from forward3j.cmail.yandex.net (HELO forward3j.cmail.yandex.net) (5.255.227.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 26 Aug 2016 12:35:08 +0000 Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [IPv6:2a02:6b8:0:2519::125]) by forward3j.cmail.yandex.net (Yandex) with ESMTP id 8D84720F4B; Fri, 26 Aug 2016 15:35:05 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id B605D2840D46; Fri, 26 Aug 2016 15:35:04 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zaS6UeraoX-Z3uGL1rR; Fri, 26 Aug 2016 15:35:03 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp3m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 26 Aug 2016 12:32:22 -0000 Date: Fri, 26 Aug 2016 13:19:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1647564591.20160826153222@yandex.ru> To: Mark Hansen , cygwin@cygwin.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@cornell.edu> <803530117.20160824125116@yandex.ru> <57BF15C7.40104@tlinx.org> <1438370398.20160826055312@yandex.ru> <41bbca20-2b04-abba-4329-aefa7600cd13@mehconsulting.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00510.txt.bz2 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