From: noer AT cygnus DOT com (Geoffrey Noer) Subject: Re: pwd and case 1 Jul 1997 16:29:40 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199707012149.OAA03831.cygnus.gnu-win32@cirdan.cygnus.com> Content-Type: text Original-To: mecklen AT ptc DOT com (Robert Mecklenburg) Original-Cc: gnu-win32 AT cygnus DOT com In-Reply-To: <199706301611.MAA03946@phldev1> from "Robert Mecklenburg" at Jun 30, 97 12:11:28 pm X-Mailer: ELM [version 2.4 PL23] Original-Sender: owner-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 AT cygnus DOT com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".