From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48206 invoked by alias); 29 Aug 2016 14:05: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 47891 invoked by uid 89); 29 Aug 2016 14:05:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,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: forward2p.cmail.yandex.net Received: from forward2p.cmail.yandex.net (HELO forward2p.cmail.yandex.net) (77.88.31.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 29 Aug 2016 14:05:08 +0000 Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [37.140.190.28]) by forward2p.cmail.yandex.net (Yandex) with ESMTP id B504A21039; Mon, 29 Aug 2016 17:05:05 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id E378E2940DCE; Mon, 29 Aug 2016 17:05:03 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 4yyWSnXZKx-53YK2tXm; Mon, 29 Aug 2016 17:05:03 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp3o.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; Mon, 29 Aug 2016 13:57:18 -0000 Date: Mon, 29 Aug 2016 16:10:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <151740036.20160829165718@yandex.ru> To: Linda Walsh , cygwin@cygwin.com Subject: Re: The Cygwin User Guide on path names In-Reply-To: <57C34240.7080100@tlinx.org> 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> <1647564591.20160826153222@yandex.ru> <57C34240.7080100@tlinx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00583.txt.bz2 Greetings, Linda Walsh! > Andrey Repin wrote: >> 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. > --- > Absolutely. Don't get me wrong. I am NOT for removing > functionality or compatibility. If the Winpaths work for you > in your situation, I am all for keeping them working! No reason > to break previous compatibility needlessly. Way too often, developers > are throwing away previous compat. because its convenient, to make > it harder for the user to maintain & control their machine. > I usually find the forward slashes easier to use because > of the quoting issue -- as I used ls for an example. Same would > apply to diff though. I.e. -- in bash, if you type >> diff C:\tmp\file1 C:\tmp\file2 > It won't do what many might think it 'should', -- it will > try to compare "C:tmpfile1" & C:tmpfile2, with the backquotes > removed before diff or patch ever see the filenames. Yes, that's expected because of the shell you're using. But if you're, say, in a file manager, and want to compare two files (or directories) on the opposite panels... Alt+Shift+D => view: the results are in the internal viewer and you can conveniently browse through them and cross-reference the files as needed. -- With best regards, Andrey Repin Monday, August 29, 2016 16:52:03 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