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]

Re: Using cygpath with backticks


On Sat, Jun 22, 2013 at 11:39 AM, Matt D. wrote:
> Maybe I've just had a long week but I can't seem to get this to work:
>
> alias pathw='echo `cygpath -w "$@"`'

I think all you want is

alias pathw='cygpath -w'

> pathw "/cygdrive/g/"
>

The result of this will then be

G:\

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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