This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: pwd and case
- To: mecklen at ptc dot com (Robert Mecklenburg)
- Subject: Re: pwd and case
- From: Geoffrey Noer <noer at cygnus dot com>
- Date: Tue, 1 Jul 1997 14:49:51 -0700 (PDT)
- Cc: gnu-win32 at cygnus dot com
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".