Is it possible to use grep with a text file of keywords?
For example instead of grep -r "keyword" directory/ Something like grep -r keywordList.txt includes/
where keywordList.txt is full of a bunch of keywords?
Is it possible to use grep with a text file of keywords?
For example instead of grep -r "keyword" directory/ Something like grep -r keywordList.txt includes/
where keywordList.txt is full of a bunch of keywords?
Try fgrep.
keywords.list
must be one keyword per line, with no extra whitespace and no regular expressions.