pwd and case
Geoffrey Noer
noer@cygnus.com
Tue Jul 1 14:51:00 GMT 1997
Robert Mecklenburg wrote:
>
> We are attempting to port a complex build environment from Unix to NT
> and have a problem with pwd. When I execute pwd (through a maze or
> emacs subshells, make, and bash) then case of the result is typically
> not what I expect. For instance, pwd returns "//d/Users/mecklen"
> instead of "//D/Users/Mecklen". Since I use sed and other text tools
> to compute other directory values this causes problems. So a couple
> of questions:
>
> Has anyone else seen this problem?
> How does pwd compute the case of the current directory?
If I were you, I would mount D: to /d and then refer to paths using
/d instead. Alternatively, use UNC paths. (The double backslash
shortcut may go away in the future).
This may also resolve your case problem.
--
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list