[bug #62255] find -iname *Word* and find -iname *word* give different results

anonymous <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?62255>

                 Summary: find -iname *Word* and find -iname *word* give
different results 
                 Project: findutils
            Submitted by: None
            Submitted on: Mon 04 Apr 2022 10:13:54 PM UTC
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: ega
        Originator Email: 
             Open/Closed: Open
                 Release: 4.9.0
         Discussion Lock: Any
           Fixed Release: None

    _______________________________________________________

Details:

find (GNU findutils) 4.9.0
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I was trying to find a file by name that contains the word: compact not sure
if capitalized or not

so I used 
user@computer:~$ find -iname *compact*
and got one result, not the file I was looking for

then I tried
user@computer:~$ find -iname *Compact*
and got 7 results including the previous one, my file was there

(originally on 4.8 that comes preinstalled, installed 4.9.0 and got the same
results)





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62255>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.