From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65628 invoked by alias); 3 Apr 2019 17:42:36 -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 65621 invoked by uid 89); 3 Apr 2019 17:42:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,GIT_PATCH_2,KHOP_DYNAMIC,RCVD_IN_DNSWL_LOW,SPAM_URI,SPF_PASS autolearn=no version=3.3.1 spammy=sk:unsubsc, UD:problems.html, Stuff, unsubscribesimple X-HELO: mx0a-00176a03.pphosted.com Received: from mx0b-00176a03.pphosted.com (HELO mx0a-00176a03.pphosted.com) (67.231.157.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Apr 2019 17:42:34 +0000 Received: from pps.filterd (m0048299.ppops.net [127.0.0.1]) by m0048299.ppops.net-00176a03. (8.16.0.27/8.16.0.27) with SMTP id x33HdCuQ026491 for ; Wed, 3 Apr 2019 13:42:32 -0400 From: "Garber, Dave (BHGE, Non-GE)" To: Achim Gratz , "cygwin@cygwin.com" Subject: RE: EXT: Re: cygpath -u converts quoted UNC paths to local Date: Wed, 03 Apr 2019 17:42:00 -0000 Message-ID: References: <209675900.20190403192000@yandex.ru> <875zrvm2sw.fsf@Rainer.invalid> In-Reply-To: <875zrvm2sw.fsf@Rainer.invalid> x-dg-rorf: x-ms-exchange-purlcount: 5 received-spf: None (protection.outlook.com: bhge.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-SW-Source: 2019-04/txt/msg00025.txt.bz2 Not completely the shell. =46rom a Windows command prompt: c:\Apps\cygwin64\bin\cygpath.exe -u \\123.456.789.321\wwwroot\ccenter\bin\= online.sh //123.456.789.321/wwwroot/ccenter/bin/online.sh c:\Apps\cygwin64\bin\cygpath.exe -u "\\123.456.789.321\wwwroot\ccenter\bin= \online.sh" /cygdrive/c/123.456.789.321/wwwroot/ccenter/bin/online.sh c:\Apps\cygwin64\bin\cygpath.exe -u "\\\123.456.789.321\wwwroot\ccenter\bi= n\online.sh" //123.456.789.321/wwwroot/ccenter/bin/online.sh c:\Apps\cygwin64\bin\cygpath.exe -u "\\\\123.456.789.321\wwwroot\ccenter\b= in\online.sh" //123.456.789.321/wwwroot/ccenter/bin/online.sh Looks like cygpath is doing something different when the argument is enclos= ed in quotes (same behavior if single-quote ' is used). =20 > -----Original Message----- > From: cygwin-owner@cygwin.com On Behalf > Of Achim Gratz > Sent: Wednesday, April 03, 2019 1:12 PM > To: cygwin@cygwin.com > Subject: EXT: Re: cygpath -u converts quoted UNC paths to local >=20 > Andrey Repin writes: > > This can be considered "working by design", but it really imposes some > > serious restrictions on interoperability with Cygwin, that I think can = be > avoided. >=20 > But cygpath never sees the quotes, so whatever is done to the path that it > gets is actually the work of your shell. In other words, you need to she= ll- > quote the backslashes as appropriate for your shell. >=20 >=20 > Regards, > Achim. > -- > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk > Blofeld]>+ >=20 > DIY Stuff: > http://Synth.Stromeko.net/DIY.html >=20 > -- > 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 -- 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