This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pwd and case


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]