Using cygpath with backticks
Matt D.
matt@codespunk.com
Sat Jun 22 15:58:00 GMT 2013
Maybe I've just had a long week but I can't seem to get this to work:
alias pathw='echo `cygpath -w "$@"`'
pathw "/cygdrive/g/"
I also tried:
alias pathw='echo $(cygpath -w "$@")'
cygpath just yells at me that I'm doing something wrong.
--
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