delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/27/10:38:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 27 Feb 2002 10:37:26 -0500
From: Christopher Faylor <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygpath doubles backslashes
Message-ID: <20020227153726.GD28812@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3C7CEBCF DOT BDBD6D33 AT iee DOT org>
Mime-Version: 1.0
In-Reply-To: <3C7CEBCF.BDBD6D33@iee.org>
User-Agent: Mutt/1.3.23.1i

On Wed, Feb 27, 2002 at 02:23:11PM +0000, Don Sharp wrote:
>when /usr/bin is converted by "cygpath -w -p" it doubles the number of
>backslashes produced
>
>$ cygpath -w -p /usr/bin:/bin
>G:\\bin;G:\bin
>
>Not sure if this is a desirable side-effect.
>
>$ mount
>G:\\bin on /usr/bin type system (binmode)
>G:\\lib on /usr/lib type system (binmode)
>c:\tmp on /tmp type system (binmode)
>
>All software latest available yesterday

Did you look at the above mount table?  You're using two backslashes in
your mount and cygpath is dutifully using what you've told it to use.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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