How do I pipe the output of grep as the search pattern for another grep?
As an example:
grep | xargs grep
Try
grep ... | fgrep -f - file1 file2 ...