This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: How to (dynamically) control Unix/Dos PATH-like variabletran slation
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: RE: How to (dynamically) control Unix/Dos PATH-like variabletran slation
- From: "Fleischer, Karsten (K.)" <kfleisc1 at getrag-ford dot com>
- Date: Wed, 4 Apr 2001 10:54:00 -0400
> Also, most Cygwin programs should be able to deal just fine
> with Windows
> style paths. So, just use those.
ksh93 has a variable type for automatically converting UNIX pathnames to
Windows pathnames.
This is an excerpt from the documentation for the typeset command of ksh:
--8<--
-H Hostname mapping. Each name holds a native path-
name. Assigning a UNIX format pathname will cause
it to be converted to a pathname suitable for the
current host. This has no effect when the native
system is UNIX.
--8<--
So I'd rather suggest patching bash to support this kind of variables than
anything else. Or to port ksh (which would also mean to port the AT&T AST
library first).
Or, just use Windows paths, as Chris suggested.
Karsten
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple