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

Jacobo Pantoja <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #4, bug #62255 (project findutils):

Hi: I was having the same problem, started debugging and then realized that it
is just a matter of wildcard expansion within bash.

Meaning, if e.g. I have a file called 'compactfile.txt' and
'Compactfile2.file', and I do 'find -iname compact*', bash will expand
'compact*' to 'compactfile.txt' so the search will be _very_ different to what
you expect.

If you just put the search item within quotes or double quotes, it works.


    _______________________________________________________

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.