delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/04/10:52:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-ASG-Debug-ID: 1286203933-0de913270001-w5GHUG
X-Barracuda-Envelope-From: daniel AT fgm DOT com
X-Barracuda-Apparent-Source-IP: 216.2.55.102
X-ASG-Whitelist: Client
Message-ID: <4CA9EA1D.5050603@fgm.com>
Date: Mon, 4 Oct 2010 10:52:13 -0400
From: Daniel Barclay <daniel AT fgm DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: Re: How to get cygwin path
References: <29868198 DOT post AT talk DOT nabble DOT com> <4CA7A1DB DOT 8040004 AT sbcglobal DOT net> <29868442 DOT post AT talk DOT nabble DOT com> <29868542 DOT post AT talk DOT nabble DOT com>
X-ASG-Orig-Subj: Re: How to get cygwin path
In-Reply-To: <29868542.post@talk.nabble.com>
X-Barracuda-Connect: UNKNOWN[216.2.55.102]
X-Barracuda-Start-Time: 1286203933
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://spam.fgm.com:8000/cgi-mod/mark.cgi
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Afflictedd2 wrote:
>
> Ok. nm...
>
> it has to be this way:
>
> cygpath -u "C:\Users\Viper\Tmp"

Using single quotes would be more general.  Consider the difference if
the pathname includes a substring like "\r".  (Backslash is inert in
(bash/sh/etc.) single-quoted strings, but sometimes escapes the following
character in double-quoted strings.



Daniel

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