delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/23/10:15:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLY,FSL_RU_URL,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4E03492D.40109@gmail.com>
Date: Thu, 23 Jun 2011 16:09:49 +0200
From: Marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Strange cygpath behavior.
References: <73619422 DOT 20110621092310 AT mtu-net DOT ru> <4E00321A DOT 30105 AT lysator DOT liu DOT se> <92658329 DOT 20110623165230 AT mtu-net DOT ru>
In-Reply-To: <92658329.20110623165230@mtu-net.ru>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 6/23/2011 2:52 PM, Andrey Repin wrote:
> Greetings, Peter Rosin!
>
>>> I'm facing an unacceptable cygpath behavior related to the network shares.
>
>> Unacceptable?
>
> Exactly.

Unacceptable seems a moral judgement, for this reason
I guess Peter is perplexed.

>
>> Perhaps your quoting skills and expectations fall
>> into that category...
>
>>> The testcase is:
>>>
>>> [\\DAEMON1\anrdaemon]$cygpath -u \\DAEMON1\anrdaemon\.profile
>>> //DAEMON1/anrdaemon/.profile
>
>> I think you mean cygpath -u \\\\DAEMON1\\anrdaemon\\.profile
>
> No, I did mean what I wrote.

What about a more clear explanation of what do you expect
to obtain ? I have problem to understand your problem,
while Peter answer seems more obvious (to me).

Problem reports:       http://cygwin.com/problems.html

In general the "\" is used as escape character so unquoted
it just preserves the next character

\\DAEMON1\anrdaemon\.profile
is equivalent to
"\DAEMON1anrdaemon.profile"


>
> Glad you quoted it, strange that you didn't read it.
>
>
> --
> WBR,
>   Andrey Repin (anrdaemon AT freemail DOT ru) 23.06.2011,<16:49>
>
> Sorry for my terrible english...

better than my Russian

Marco

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019