This is the mail archive of the cygwin 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]

"cygpath -u" inside backticks differs


It may be something very simple, but I just cannot figure what it is, nor can I
find anything on the forums.

Here - see the different results:

/ > echo `cygpath.exe -u '\\DAEMON1\anrdaemon\.profile'`
/c/DAEMON1/anrdaemon/.profile

/ > cygpath.exe -u '\\DAEMON1\anrdaemon\.profile'
//DAEMON1/anrdaemon/.profile

So cygpath in backticks slaps a drive at the front, while otherwise it does
... well, what I expect.


Does anyone know why? Or know a thread where this is explained?

Many thanks!
Ivan

PS: I am running a fairly recent version of cygwin 1.7.27 ... and I just checked
it in 1.7.29

--
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


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