find blah blah blah | xargs grep -i --fixed-strings --file=words.dat
Change that to ...
find blah blah blah -print0 | xargs -0 grep -i --fixed-strings --file= +words.dat
... and problems with "funny" filenames are gone.
Alexander
In reply to Re^2: Help with script to search all files for certain words.
by afoken
in thread Help with script to search all files for certain words.
by theninja
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |