Okay so I know i can do
grep -rhI "string1" .
but can I grab strings from a .txt file, so each string is on a new line, example
string1
string2
string3
as I have that many strings to process using
grep rhI "string1|string2|string3"
would be a pain..
-f FILEor--file=FILE). Seeman grep. Or are you asking how to output the matches one-per-line?