I've got a bunch on strings which I need to find in a couple of files, for example:
string1 string2 stringn
file1.txt file2.txt filen.txt
string1
string2
stringn
file1.txt
file2.txt
filen.txt
Is there aan (easy) way to do that in bash? I I need to know, if a string was found, in which file is it.
Thanks.