This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Strange cygpath behavior.
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: Mailing List: CygWin-Apps <cygwin-apps at cygwin dot com>, cygwin at cygwin dot com
- Date: Thu, 23 Jun 2011 13:32:41 -0400
- Subject: Re: Strange cygpath behavior.
- References: <73619422.20110621092310@mtu-net.ru> <20110623141253.GA20806@calimero.vinschen.de> <4E036D6B.8080408@cwilson.fastmail.fm>
- Reply-to: 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