[Solved] How do a search a text file for a list of phrases contained in another text file? [closed]
sure – try grep grep -F -f phrases.txt doc.txt phrases.txt in excess of in order to in order for doc.txt use grep -f in order to match this line this line won’t be matched you can use grep -o to only print the matched phrase – not the entire line: $ grep -o -F -f … Read more