delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/13/10:47:02

From: PRI AT cddk DOT dk (Peter Ring)
Subject: RE: Case sensitivity in filenames
13 Jan 1999 10:47:02 -0800 :
Message-ID: <c=DK%a=_%p=CD-Danmark%l=CDDKSERVER-990112160950Z-911.cygnus.gnu-win32@cddkserver.cddk.dk>
Mime-Version: 1.0
To: "'Bernard Dautrevaux'" <DAUTREVAUX AT microprocess DOT com>,
"'cgf AT cygnus DOT com'"
<cgf AT cygnus DOT com>,
"'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

For me, the most important improvement would be if I could control case
sensitivity per case.

For all source files that I create and control myself, case sensitivity
should follow Unix rules. But some source files (a lot, actually) are
created by Windows 95 users who couldn't care less; for those cases, I'd
like to be able, e.g., to specify case insensitivity in pattern rules in
gnu make and other tools that rely on regexp's.

Kind regards

Peter Ring

-----Original Message-----
From: Bernard Dautrevaux [mailto:DAUTREVAUX AT microprocess DOT com]
Sent: Monday, January 11, 1999 18:06
To: 'cgf AT cygnus DOT com'; gnu-win32 AT cygnus DOT com
Subject: RE: Case sensitivity in filenames

<snip>


I would favour some environment variable like GLOB_MODE=(unix,windows),
with the default being unix (for unix compatibility) that could be
tested by any tool using glob or regexp on filenames to select how to
match file names. These tools could also profitably allow some option to
change the default set by GLOB_MODE (or any better named environment
variable); for example find has "-name" that will use the default set by
GLOB_MODE, "-iname" which allways use case-independant globbing and
could aslo have "-dname" (d for dependant) for case-dependant globbing.

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