This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rsync and cygwin paths


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]