in reply to Re: Help with script to search all files for certain words.
in thread Help with script to search all files for certain words.
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
|
|---|