"cygpath -u" inside backticks differs
Ivan Dobrianov
cygwin-130603-b40@dobrianov.net
Wed Jun 4 01:28:00 GMT 2014
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
More information about the Cygwin
mailing list