Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/