I can't for the life of me figure out how
find with the test
find / -name *in and returns a bunch of results:
/sbin /sbin/sulogin /dev/stdin
to name a few.
It's as if it performed filename expansion, but that happens before the shell runs the command, so that can't be it. Also because I don't have any files in the current directory that match
*in. Plus, single quoting
*in yields the same results, which further supports that this can't be filename expansion.
The documentation leads me to believe that
-name uses regular expressions, but the regex pattern
*in doesn't match the results I showed above.
Can someone enlighten me?