Strange cygpath behavior.
Charles Wilson
cygwin@cwilson.fastmail.fm
Thu Jun 23 16:44:00 GMT 2011
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
More information about the Cygwin-apps
mailing list