delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/29/18:17:05

From: condict AT opengroup DOT org (Michael Condict)
Subject: Re: CMD, case-insensitive file-name completion
29 May 1997 18:17:05 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705291423.KAA23215.cygnus.gnu-win32@postman.opengroup.org>
X-Authentication-Warning: postman.opengroup.org: Host hare.osf.org [130.105.7.99] didn't use HELO protocol
Original-To: RPraetorius AT AspenRes DOT Com
Original-cc: Scott DOT Mintz AT po DOT cle DOT ab DOT com (Scott Mintz), gnu-win32 AT cygnus DOT com,
condict AT opengroup DOT org
In-reply-to: Your message of "Tue, 27 May 1997 12:08:11 -0000."
<B0000119176 AT mx1 DOT aspenres DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In message <B0000119176 AT mx1 DOT aspenres DOT com>, you write:
>      CMD also has case-insensitive filename completion.

I'd also like to note, if we're using other Windows command processors
as a precedent, that all of the following command processors have
case-insensitive filename completion, and also have case-insensitive
file-name pattern matching (i.e. "a*" matches both "abc" and "Alpha"):

	- NT command processor
	- 4DOS for NT
	- MKS UNIX Toolkit Korn Shell

Moreover, all of these command processors correct the case as you
type the completion character, just like my proposed changes to bash.

So bash currently stands alone in not being case-insensitive.  I'd say
that's more surprising behavior, on a Windows system, than the fact
that UNIX users expect case-sensitivity.

And while were on the topic of file globbing, can someone please tell
me why there are at least three slightly different copies of glob.c
spread throughout the source tree?  I've modified the one in the bash
source tree to do case-insensitivity, but this won't help the find
command, for example, and whatever other programs have built-in file-
name matching.

Michael Condict			m DOT condict AT opengroup DOT org
The Open Group Research Inst.	(617) 621-7349
11 Cambridge Center
Cambridge, MA 02142
-
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