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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=WgG 6nqZ660r0U+5S8PbpuDTiJCkdgKPskc72b/U/SKTUhD0FTYW0XGxMwaF8hWwCjhq TA1xcJzM9M5BSQjkN1+y2I42LyOD5ip+9w/LioY52ZqAmjwCNz/7NlWk0sOjxnwX 14piIXnrpyL3jEHSVkOGAiaDsmMnMxfMZrdtH8ps= 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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=T61unxcLP U2TQEUVVkAa1dwBeC8=; b=LxQa5zKl8iCQtqREO6wH2CkQZcsGYCksaps5CvbkT S4Ut8ajxHDtkCQqH4g7ZPY/Jxn71N+4CZQtW3RuQJGxrq9zSyyz8HU+7MYyqZcva BHMciDc3ERLZkILuBaCAvXPYR1UT7jMHyL9hJ4xbPUtHi7kMPlSuHE04q9zVXq+Y Qs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_YG autolearn=ham version=3.3.1 Message-ID: <51C5C520.7070801@codespunk.com> Date: Sat, 22 Jun 2013 11:39:12 -0400 From: "Matt D." User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Using cygpath with backticks Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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