I have a text file that have strings enclosed within double-quotes. I want to extract these strings and check another file to see if they exist or not. Right now, I got as far as:
awk -F'"' '{print $2}' ~/test | <GREP COMMAND>
How do I go through the extracted strings in a sort of a loop with my grep command?
If you have GNU grep;
If not, you could print out a
sedscript from awk, or maybe create a slightly more complicated awk script. Or just join the output into one bigegrepexpression;