delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/04/02:53:18

From: kh AT wg DOT icl DOT co DOT uk (Kevin Hughes)
Subject: case sensitive directory names
4 Dec 1997 02:53:18 -0800 :
Message-ID: <01BD0098.CFFDAEE0.cygnus.gnu-win32@rodney.wg.icl.co.uk>
Mime-Version: 1.0
To: "Gnuwin95 (E-mail)" <gnu-win32 AT cygnus DOT com>

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019