Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Alas we've got this backwards' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Alas we've got this backwards
Authored by: kwenzel on Mar 16, '02 10:40:07AM

Actually, this will work in bash, if there's no file in the CWD that matches the expression. Upon executing:

find . -name curry*

the file ./tmp/curry_comb.jpg will be successfully located - so long as no file matching curry* exists in the CWD.

Having pointed this out, there's still no excuse to expose expressions on the command line.



[ Reply to This | # ]