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]

case sensitive directory names


I have a bad habit of using upper and lower case names in my directory names - not mixing them but having a directory called UPPERCASE rather than uppercase.

This is no problem on Unix which copes as it handles upper and lower case for the names. NT does not - all files are essentially lower case. Fine I can cope with that but gnuwin appears to remember the name I typed and then uses that in the answer to pwd. Hence can do the following


bash$ pwd
/devel/kh/CC/SC
bash$ cd  ..
bash$ pwd
/devel/kh/CC
bash$ cd sc
bash$ pwd
/devel/kh/CC/sc

Since I have scripts that check "where" I am in a directory structure before they will do anything this gets a bit tedious. I also have scripts which store away the answer to "pwd" and check it next time I try to do things. I

Is there any real reason for this behaviour.? Can I turn it off and force lower case always? 



Kevin

-
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]