X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <4E0378B9.2040209@cwilson.fastmail.fm> Date: Thu, 23 Jun 2011 13:32:41 -0400 From: Charles Wilson Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Mailing List: CygWin-Apps , cygwin AT cygwin DOT com Subject: Re: Strange cygpath behavior. References: <73619422 DOT 20110621092310 AT mtu-net DOT ru> <20110623141253 DOT GA20806 AT calimero DOT vinschen DOT de> <4E036D6B DOT 8080408 AT cwilson DOT fastmail DOT fm> In-Reply-To: <4E036D6B.8080408@cwilson.fastmail.fm> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Sorry, wrong list. Redirected. On 6/23/2011 12:44 PM, Charles Wilson wrote: > On 6/23/2011 10:12 AM, Corinna Vinschen wrote: >> I don't know what the difference in your settings is, though. Something >> with readline, maybe. > > Despite the APPEARANCE (*) of invoking cygpath from within a cygwin > shell, it seems the OP is actually invoking cygpath directly from a > regular cmd.exe console: > > On my machine, from cmd.exe: > > C:\cygwin\bin>cygpath -u \\DAEMON1\anrdaemon\.profile > //DAEMON1/anrdaemon/.profile > > On my machine, from bash.exe: > > $ cygpath -u \\DAEMON1\anrdaemon\.profile > /c/DAEMON1anrdaemon.profile > > > (*) [\\DAEMON1\anrdaemon]$cygpath -u \\DAEMON1\anrdaemon\.profile > ^^^^^^^^^^^^^^^^^^^^^^ > oh, look, a unix-style command prompt, aka $PS1... -- 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