This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Absolute file-path under bash (cygwin32)
- To: Hawkeye <hawkeye at tcp dot com>
- Subject: Re: Absolute file-path under bash (cygwin32)
- From: Paul Prescod <papresco at calum dot csclub dot uwaterloo dot ca>
- Date: Wed, 16 Apr 1997 10:33:43 -0400
- CC: jeffdb at netzone dot com, gnu-win32 at cygnus dot com
- References: <199704160854.BAA13479@tcp.com>
Hawkeye wrote:
> That could only ever work partially, at best. Filenames aren't
> necessarily distinct words in the argument list (consider an option
> like "-I/usr/local/include"), and every word in the argument list
> shouldn't necessarily be interpeted as a cygwin filename (consider
> "echo dir /w >foo.bat").
Either of these problems are easily fixed. How do you recognize variable
names so that they can be replaced? With a special character. I don't
know bash enough to know what character or character combination is left
over, though. Maybe $/ as in $/foo/bar.com . Do variable names ever
start with $/?
> The only "right" place to interpret filenames is in the API calls made by
> an application.
It is already too late for that. We can't fix all of the Windows
software in the world, and we can't fix all of the Unix source code in
the world. We must either manually convert pathnames forever or we must
have a way of letting the computer differentiate them. I prefer the
latter.
Paul Prescod
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".