delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/22/11:59:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Sg
SA1nNj8L4eKRKXMJMefxVyZcuDhGD3cSsqm/cUvhFmKMddK6bZHr0VMRdyDvSj4G
mN3aNkemG37lJwdGoP8Vhw6TyYAC0p9Ky89fh2RqInSqxjtevQhabJaNdSb3ST8q
99iQpEGOX82EZRDVd2hwBSPlDjEn43ZHOlMqjee4w=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=RBfbi8ZL
+OS4Zr9C3dGjF7gWd6E=; b=Saecme+Lg2DceO9bz2qeyBB08/wmkp6mmO2VGvr7
nXu9DZLDA7nt6XnZ8QjDA+QhCxMkZOmvtdbug2WlHNeb3sQbByR8A9wYPse7CObr
cFrvNIXLUVRjKJZ8s5jebhWP76fUdEMvGkMgId0Csc3cLjzGSOEUX13OioR6wEhh
8MI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_YG autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.224.35.204 with SMTP id q12mr10593240qad.104.1371916708141; Sat, 22 Jun 2013 08:58:28 -0700 (PDT)
In-Reply-To: <51C5C520.7070801@codespunk.com>
References: <51C5C520 DOT 7070801 AT codespunk DOT com>
Date: Sat, 22 Jun 2013 11:58:28 -0400
Message-ID: <CA+sc5mmAHyicuqt6z7qZDOEjCoKZLrZVw=V=Rp=Cu2pOdUNtpA@mail.gmail.com>
Subject: Re: Using cygpath with backticks
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
To: cygwin AT cygwin 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019