This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygpath doubles backslashes


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]