cat file.txt | xargs grep 'pattern'
Category: I/O Redirection & Pipes
Use xargs to pass file lines as arguments to grep