delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/12/12:28:24

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: <20040512162136.13663.qmail@web61104.mail.yahoo.com>
Date: Wed, 12 May 2004 09:21:36 -0700 (PDT)
From: Joshua Daniel Franklin <joshuadfranklin AT yahoo DOT com>
Subject: Re: cygpath
To: Dave Yost <Dave AT Yost DOT com>, cygwin AT cygwin DOT com
In-Reply-To: <pdy988306100538bcc77a8d4986@[209.128.98.50]>
MIME-Version: 1.0

--- Dave Yost wrote:
> Thanks for cygpath and whaterver you do for cygwin!

Dave, 

While I have submitted a couple patches to cygpath, a lot of people have put
work into it and I certainly can't take credit for the whole thing! Several
of these people and other knowledgable cygwin users are on the Cygwin list,
so it would be better to keep questions on the list.

> I have a small problem.
> 
> I have a path ../foo:../bar
> 
> When I use the --path argument, cygpath insists on converting the relative
> paths into absolute paths.  I wish it wouldn't do that.  But I can understand
> the need for backward compatibility, so could I request a --relative option?

You might use a simple sed script to take out what you don't need.

> Also:
> 
> I have this nasty problem with the Sun 1.4.x JDK (fixed in 1.5.0-beta1).  I
> pass in a classpath argument like this:
> 
> javac -classpath `cygpath -w /usr/local/jdk/lib/tools.jar` X.java
> 
> Problem is, /usr/local/jdk is a cygwin symlink, and the java runtime
> apparently can't follow symbolic links or shortcuts.

I don't use Java with cygwin, so maybe someone else on the list will have 
some ideas for this issue.

> It would be cool if cygpath had an option to resolve any symlinks and
> shortcuts in the path.

Yes, it would. Patches thankfully accepted. :)


	
		
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 

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