This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange cygpath behavior.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]