delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/05/09:36:02

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
Date: Thu, 5 Jun 2003 09:33:43 -0400
To: cygwin AT cygwin DOT com
Subject: Re: rsync and cygwin paths
Message-ID: <20030605133343.GC7542@ny-kenton2a-710.buf.adelphia.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3EDDF586 DOT 4040603 AT lapo DOT it> <5 DOT 2 DOT 1 DOT 1 DOT 2 DOT 20030604102619 DOT 02ed4598 AT pop DOT sonic DOT net>
Mime-Version: 1.0
In-Reply-To: <5.2.1.1.2.20030604102619.02ed4598@pop.sonic.net>
User-Agent: Mutt/1.3.28i
From: somian AT adelphia DOT net (Soren Andersen)

On Wed, Jun 04, 2003 at 10:33:34AM -0700, Randall R Schulz wrote:
> However for many purposes it's feasible to write some simple-minded 
> heuristics that make the determination about when and how to apply 
> "cygpath." I currently use a BASH script that uses a simple "case" 
> statement to paper over the Cygwin / Windows interface for invoking the 
> Java 2 SDK tools. The case statement's glob patterns detect whether any 
> given argument is (probably) a file name or PATH-like entity and then 
> applies cygpath as necessary. It can be fooled, of course, but in 
> practice it works fine for me.

Gosh, you accomplish that with a mere bash script? I wrote an entire
class to handle that ;-).  Over-working myself as usual I expect!
Ten-dollar solutions to 5-cent problems, that's my motto!

   Soren A.

-- 
See my OpenPGP key at https://savannah.gnu.org/people/viewgpg.php?user_id=6050
GnuPG public key fingerprint  | "Only when efforts to reform society have as
 BD26 A5D8 D781 C96B 9936     |  their point of departure the reformation of
 310F 0573 A3D9 4E24 4EA6     |  the inner life -- human revolution -- will
they lead us with certainty to a world of lasting peace and true human security."
                                -- Daisaku Ikeda

--
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