This is the mail archive of the
cygwin-apps
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>
- Date: Thu, 23 Jun 2011 12:44:27 -0400
- Subject: Re: Strange cygpath behavior.
- References: <73619422.20110621092310@mtu-net.ru> <20110623141253.GA20806@calimero.vinschen.de>
- Reply-to: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
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...
--
Chuck