This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using cygpath with backticks
- From: Earnie Boyd <earnie at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 22 Jun 2013 11:58:28 -0400
- Subject: Re: Using cygpath with backticks
- References: <51C5C520 dot 7070801 at codespunk dot com>
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