I've looked all over for this but I can only find 'Compare two text files for differences', or 'compare two files and create another with the missing words'. I have a list of words & short phrases and I need to check inside a text file for occurrences of these words/phrases. Each phrase in the list file is on a separate line. I just need to print/log the phrases that appear in the text file.
I know I should already have something worked out but I'm not sure where to start. Can I get a hint even?