Mail Archives: cygwin/2004/06/04/12:19:05
On Fri, 4 Jun 2004, Karr, David wrote:
> 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?
In general it's impossible without some heuristics or application
knowledge. For one example on how to do this, see the java* wrapper
scripts that I posted to this list a while ago (e.g.,
<http://cygwin.com/ml/cygwin/2003-01/msg00174.html> or see them in CVS at
<http://sources.redhat.com/cgi-bin/cvsweb.cgi/wrappers/java/?cvsroot=cygwin-apps>).
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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 -