Re: Case Insensitive File Systems -- Torvalds Hates Them

Liste des GroupesRevenir à col advocacy 
Sujet : Re: Case Insensitive File Systems -- Torvalds Hates Them
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacy
Date : 30. Apr 2025, 18:48:51
Autres entêtes
Message-ID : <m7f642Fs4tbU1@mid.individual.net>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.160 (Toresk; )
On Wed, 30 Apr 2025 10:29:17 -0000 (UTC), Borax Man wrote:

On 2025-04-29, rbowman <bowman@montana.com> wrote:
On Mon, 28 Apr 2025 15:46:56 -0400, CrudeSausage wrote:
>
The biggest issue I envision anyone having with case sensitivity is
not remembering what they saved a certain file as. However, if you
know that the document deals with green eggs, searching for it despite
not remembering the document filename should be trivial.
>
I was talking about databases. In DB2
>
'SELECT author FROM books WHERE title LIKE 'green eggs%'
>
is only going to match 'green eggs' exactly. If you're not sure how the
record was stored you would need LOWER(title).
>
The equivalent directory search would be something like
>
find . -name "*.txt" | xargs grep -i "green eggs"
>
The difference is the directory search is probably going to be a
one-shot.
The SQL statement may be executed thousands of times and LOWER() is
costly.
>
I'm curious how SQL Server or Access handles case insensitivity in the
internals. However it's done it's faster than explicit conversions at
runtime.
 
Why not just use the -iname option for find?  Its the same as -name, but
not case sensitive.

In the example I'm not worried about finding .TXT, etc. A more realistic
example would be  'find . -name "*.cpp"'  at least on my machines where I
would never have 'foo.CPP',  'foo.PY', and so forth.

After find locates foo.cpp, bar.cpp, and baz.cpp, xargs passes the file
name to grep.  More likely the search string would be something like
"*landmark*".

Date Sujet#  Auteur
27 Apr 25 * Case Insensitive File Systems -- Torvalds Hates Them36Farley Flud
28 Apr 25 +* Re: Case Insensitive File Systems -- Torvalds Hates Them9John Ames
28 Apr 25 i+- Re: Case Insensitive File Systems -- Torvalds Hates Them1Farley Flud
28 Apr 25 i+* Re: Case Insensitive File Systems -- Torvalds Hates Them4rbowman
29 Apr 25 ii`* Re: Case Insensitive File Systems -- Torvalds Hates Them3rbowman
30 Apr 25 ii `* Re: Case Insensitive File Systems -- Torvalds Hates Them2Borax Man
30 Apr 25 ii  `- Re: Case Insensitive File Systems -- Torvalds Hates Them1rbowman
28 Apr 25 i`* Re: Case Insensitive File Systems -- Torvalds Hates Them3RonB
29 Apr 25 i +- Re: Case Insensitive File Systems -- Torvalds Hates Them1rbowman
29 Apr 25 i `- Re: Case Insensitive File Systems -- Torvalds Hates Them1rbowman
28 Apr 25 +* Re: Case Insensitive File Systems -- Torvalds Hates Them24John Ames
28 Apr 25 i+* Re: Case Insensitive File Systems -- Torvalds Hates Them5John Ames
28 Apr 25 ii`* Re: Case Insensitive File Systems -- Torvalds Hates Them4Farley Flud
29 Apr 25 ii +* Re: Case Insensitive File Systems -- Torvalds Hates Them2Ant
29 Apr 25 ii i`- Re: Case Insensitive File Systems -- Torvalds Hates Them1rbowman
5 May 25 ii `- Re: Case Insensitive File Systems -- Torvalds Hates Them1John Ames
29 Apr 25 i+* Re: Case Insensitive File Systems -- Torvalds Hates Them2Lawrence D'Oliveiro
29 Apr 25 ii`- Re: Case Insensitive File Systems -- Torvalds Hates Them1candycanearter07
29 Apr 25 i+- Re: Case Insensitive File Systems -- Torvalds Hates Them1Andreas Eder
29 Apr 25 i+- Re: Case Insensitive File Systems -- Torvalds Hates Them1Borax Man
29 Apr 25 i`* Re: Case Insensitive File Systems -- Torvalds Hates Them14Andreas Dehmel
29 Apr 25 i `* Re: Case Insensitive File Systems -- Torvalds Hates Them13Farley Flud
30 Apr 25 i  `* Re: Case Insensitive File Systems -- Torvalds Hates Them12Andreas Dehmel
2 May 25 i   `* Re: Case Insensitive File Systems -- Torvalds Hates Them11Stéphane CARPENTIER
3 May 25 i    `* Re: Case Insensitive File Systems -- Torvalds Hates Them10Lawrence D'Oliveiro
3 May 25 i     `* Re: Case Insensitive File Systems -- Torvalds Hates Them9Chris Ahlstrom
3 May 25 i      +* Re: Case Insensitive File Systems -- Torvalds Hates Them7The Natural Philosopher
3 May 25 i      i+- Re: Case Insensitive File Systems -- Torvalds Hates Them1Lawrence D'Oliveiro
9 May 25 i      i+- Re: Case Insensitive File Systems -- Torvalds Hates Them1Stéphane CARPENTIER
10 May 25 i      i`* Re: Case Insensitive File Systems -- Torvalds Hates Them4Richard Kettlewell
10 May 25 i      i `* Re: Case Insensitive File Systems -- Torvalds Hates Them3The Natural Philosopher
10 May 25 i      i  `* Re: Case Insensitive File Systems -- Torvalds Hates Them2Richard Kettlewell
10 May 25 i      i   `- Re: Case Insensitive File Systems -- Torvalds Hates Them1Stéphane CARPENTIER
3 May 25 i      `- Re: Case Insensitive File Systems -- Torvalds Hates Them1Andreas Eder
29 Apr 25 `* Re: Case Insensitive File Systems -- Gates Loves Them (was: Case Insensitive File Systems -- Torvalds Hates Them)2Tyrone
30 Apr 25  `- Re: Case Insensitive File Systems -- Gates Loves Them (was: Case Insensitive File Systems -- Torvalds Hates Them)1Farley Flud

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal