delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/12/15:34:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E6F99BE.5050507@pobox.com>
Date: Wed, 12 Mar 2003 15:34:06 -0500
From: Tom Roche <Tom_Roche AT pobox DOT com>
Reply-To: Tom_Roche AT pobox DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwinized XSL processor? (or sed for path transform?)
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0303111756300 DOT 11568-100000 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.44.0303111756300.11568-100000@slinky.cs.nyu.edu>

On Tue, 11 Mar 2003, Tom Roche wrote:
 >> my script does a lot of path translations like

 >> cygpath="/g/eclipse/builds/foo"
 >> winpath="g:\\eclipse\\builds\\foo"

 >> and it doesn't iterate over the paths. (Not a big deal, but it
 >> offends my software aesthetics :-)

Igor Pechtchanski Tue, 11 Mar 2003 17:57:49 -0500 (EST)
 > I suspect the "-p" and "-f" options to cygpath might be of some help
 > to you.

No, but "cygpath -a" is a great help! I can iterate over the windows
paths, and get the cygwin paths from them with `cygpath -a $winpath`.
Thanks for the suggestion!


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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