[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Jacobo Pantoja
Subject: [bug #62255] find -iname *Word* and find -iname *word* give different results
Date: Sun, 4 Sep 2022 12:44:20 -0400 (EDT)

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:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]