delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/04/11:42:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: Strategy to process all tokens on a line through "cygpath -w", ignoring non-path tokens
Date: Fri, 4 Jun 2004 08:41:00 -0700
Message-ID: <0C260F619E428642BFA6380177C3ADF3A3FD18@exmsea005.us.wamu.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Karr, David" <david DOT karr AT wamu DOT net>
To: "Cygwin" <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 04 Jun 2004 15:41:00.0811 (UTC) FILETIME=[563D4DB0:01C44A4A]
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i54FgBqn002778

I have a situation where I have a command line that I need to preprocess
with "cygpath -w", changing all tokens which represent paths to convert
them to their windows equivalent.  All other tokens should pass through
unchanged.  Is there already a canned solution for this?  What would be
a reasonable strategy to get this done?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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