How to (dynamically) control Unix/Dos PATH-like variabletran slation

Fleischer, Karsten (K.) kfleisc1@getrag-ford.com
Wed Apr 4 07:59:00 GMT 2001


> 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



More information about the Cygwin mailing list