From: Andrey Repin <anrdaemon@yandex.ru>
To: Corinna Vinschen <cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: cygpath -u converts quoted UNC paths to local
Date: Thu, 04 Apr 2019 07:50:00 -0000 [thread overview]
Message-ID: <1769674219.20190404104950@yandex.ru> (raw)
In-Reply-To: <20190403163147.GG3337@calimero.vinschen.de>
Greetings, Corinna Vinschen!
> On Apr 3 19:20, Andrey Repin wrote:
>> Greetings, All!
>>
>> This can be considered "working by design", but it really imposes some serious
>> restrictions on interoperability with Cygwin, that I think can be avoided.
>>
>> ...
>>
>> After some further testing, this seems to be affecting IP-based UNC paths
>> only.
>>
>> The essence is this:
>>
>> $ dir "\\192.168.1.5\wwwroot\ccenter\bin\online.sh"
>> 26.10.2018 18:16 431 online.sh
>>
>> $ cygpath -u \\192.168.1.5\wwwroot\ccenter\bin\online.sh
>> //192.168.1.5/wwwroot/ccenter/bin/online.sh
>>
>> $ cygpath -u "\\192.168.1.5\wwwroot\ccenter\bin\online.sh"
>> /192.168.1.5/wwwroot/ccenter/bin/online.sh
> This shows that it's not cygpath. It's the quoting, thus the shell
> mangles the path.
Oh, sorry, stupid habit of mine.
Yes, in Windows convention, shell (CMD) does not perform unquoting.
This makes it impossible to reliable pass parameters to cygpath.
--
With best regards,
Andrey Repin
Thursday, April 4, 2019 10:48:12
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
next prev parent reply other threads:[~2019-04-04 7:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 16:20 Andrey Repin
2019-04-03 16:31 ` Corinna Vinschen
2019-04-04 7:50 ` Andrey Repin [this message]
2019-04-03 17:11 ` Achim Gratz
2019-04-03 17:42 ` EXT: " Garber, Dave (BHGE, Non-GE)
2019-04-03 17:49 ` Chris Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1769674219.20190404104950@yandex.ru \
--to=anrdaemon@yandex.ru \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).