RE: EXT: Re: cygpath -u converts quoted UNC paths to local
- Date: Wed, 3 Apr 2019 17:42:22 +0000
- From: "Garber, Dave (BHGE, Non-GE)" <dave.garber1@xxxxxxxx>
- Subject: RE: EXT: Re: cygpath -u converts quoted UNC paths to local
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
c:\Apps\cygwin64\bin\cygpath.exe -u "\\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"
c:\Apps\cygwin64\bin\cygpath.exe -u "\\\\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@xxxxxxxxxx <cygwin-owner@xxxxxxxxxx> On Behalf
> Of Achim Gratz
> Sent: Wednesday, April 03, 2019 1:12 PM
> To: cygwin@xxxxxxxxxx
> 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
> 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.
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk
> DIY Stuff:
> 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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple