This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cygpath doubles backslashes
- From: Christopher Faylor <cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 27 Feb 2002 10:37:26 -0500
- Subject: Re: cygpath doubles backslashes
- References: <3C7CEBCF.BDBD6D33@iee.org>
- Reply-to: cygwin at cygwin dot com
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/