I thought the wildcard
* in the command
find . -name *foo* is replaced by bash, and yet the command works unless
*foo* matches something in the current directory, then it doesn't. It's confusing.
If bash can't find a match, it passes the literal string to the application with
If you want