Author: Robert Hyatt
Date: 08:15:14 05/23/02
Go up one level in this thread
On May 23, 2002 at 01:31:56, Jeremiah Penery wrote: >On May 23, 2002 at 01:16:44, Robert Hyatt wrote: > >>On May 22, 2002 at 22:08:45, Christophe Theron wrote: >> >>>Filenames are case sensitive in Windows only for storing. When searching for >>>filenames, the search is case insensitive. That's the best way to do it in my >>>opinion. >> >> >>Not in mine. I want WCCCxxxx to mean something significant, since WCCC is >>obviously an abbreviation for something. wcccxxxx should (to me) be a >>different file. Otherwise, _why_ would I name one WCCCxxxx and the other >>wcccxxxx and expect them to be the same? Why not just type them the same >>and it works. IE if you don't like case-sensitive filenames, simply make >>all your filenames lowercase and the problem is instantly solved, but >>leaving the rest of us the option of using case sensitivity to do whatever >>we want... > >He's not talking about saving a file with different case. If a filesystem can >do that, great. But when you're _searching_ for a file, you should be able to >search for "wccc..." and see a list with _both_ sets of files. That is what >Christophe is saying, and it makes way more sense to do it this way. This is already trivial to do using regular expressions. Or anybody could write their own "find" command that is case insensitive. I did this inside Crafty to match GM/IM names to adjust how crafty behaves. And I found it tedious to try to match strange combinations of upper and lower case letters, so I simply mapped them all to lowercase _first_... But in Unix, if you are looking for files or strings in files, it is trivial to make it case insensitive already. Just study "regular expressions"...
This page took 0.03 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.