Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: linux issues

Author: Robert Hyatt

Date: 21:44:27 05/23/02

Go up one level in this thread


On May 23, 2002 at 23:18:08, Jeremiah Penery wrote:

>On May 23, 2002 at 17:14:07, Robert Hyatt wrote:
>
>>On May 23, 2002 at 16:03:11, Christophe Theron wrote:
>>
>>>The result is a clear success: the stuff is unuseable for normal people. And
>>>Linuxers like it: normal people are a threat to the philosophy. They might
>>>demand stupid things, like being able to retrieve a file called "WCCCxxx" by
>>>just typing "wccc*". Geez!
>>
>>
>>Or demanding a bit of mental control from the user by telling him "If you
>>want to retrieve a file by typing wccc* then when you create it, create it as
>>wcccxxx.
>
>I have 40,870 files on my computer at the moment.  I have no idea how many of
>them were created by me, but I bet it's a few hundred, maybe even a thousand.
>Do you really expect me to remember the case of every filename I've created just
>to be able to find some file when I'm looking for it?

No.  learn how to use regular expressions.  Or learn how to do

find /home/hyatt -print | grep -i filenameyouwant

and you are set.  You get your case insensitivity.  I get my case
sensitivity.

You _can_ do it either way in linux.  In windows you are stuck.



>
>If I write a message and ask for the opinion of "bob hyatt", do you not respond
>because the capitalization of your name is not correct?  Maybe it refers to a
>different person, even?  If we follow your thinking, this is the case.

Clearly "bob hyatt" is gramatically incorrect.  Proper nouns are capitalized
to be correct...


>
>When I search for files, I generally use wildcards because I only remember the
>type of file - it's much easier for me to see a list of 30 files or so and pick
>the correct one from the list, than to remember exactly the filename I'm looking
>for.  If regular expressions are very similar to wildcards, then it's not too
>much of a problem and I withdraw my stance on this, but I gather they're a bit
>more complicated.

Depends on how you want to search.  if you like "find" then pair it with
grep and use the -i option to ignore case.  Otherwise, regular expressions are
trivial...


>
>As for writing a new find command or something, a lot of people can do it, and a
>lot of those people probably use some form of Unix already, but could the
>average person who wants to use email/word processing/AOL/etc?  I really doubt
>it.

And would they _really_ mix case in filenames just for the heck of it?  I
don't think so.



This page took 0 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.