X-Recipient: archive-cygwin@delorie.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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=HF0CvCkwQXpzsMaeVcnr3A/kmMDVX
	wx/8TF8GqRSHr3UVxhyb34I+sH5jY6MH+56abFxJxYVnhfgiiKUrJS51/ppzA7pz
	gYe1yuqRDva4RaK+OgK77u9Q5zzTLxdrDczssO5scY2VRWQjZ6QtuzOZGKfX7DfT
	T8Czll7yp79/SY=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=I7ECA+eSURi7/Y6tQxHoSCeqRyw=; b=Cfv
	peyDyaXTmEOu+xESD1qyD66BYygr3qSJ6M/dRdBy8sn9JIPgq+UJVvsPDXsbW58M
	jL4uExOhJslnDLakErPngZ+ORM374xXVlTl17cJfoC9tJnIAZsm/+XrwMCnGLT6G
	+eecOtSPVo+DCgSrSC4gUbNcJ2eZCLODr/uS95Lg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
From: "Garber, Dave (BHGE, Non-GE)" <dave.garber1@bhge.com>
To: Achim Gratz <Stromeko@nexgo.de>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: EXT: Re: cygpath -u converts quoted UNC paths to local
Date: Wed, 3 Apr 2019 17:42:22 +0000
Message-ID: <DM5P101MB0153C5831550EF2D74018447B5570@DM5P101MB0153.NAMP101.PROD.OUTLOOK.COM>
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"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x33Hgi6E023400

Not completely the shell.

From 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\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"
//123.456.789.321/wwwroot/ccenter/bin/online.sh

Looks like cygpath is doing something different when the argument is enclosed in quotes (same behavior if single-quote ' is used).
 
> -----Original Message-----
> From: cygwin-owner@cygwin.com <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
> 
> 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.
> 
> 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 shell-
> quote the backslashes as appropriate for your shell.
> 
> 
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk
> Blofeld]>+
> 
> DIY Stuff:
> http://Synth.Stromeko.net/DIY.html
> 
> --
> 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


