I'm looking for a command or script to do the following - given:
abcd efgh ijkl mnop
123abcd123 123efgh123 123mnop123
I want a command that does something like this:
ungrep file1.txt file2.txt
and returns the following:
In other words it is giving me the lines in file1.txt that will not return any results on a grep of file2.txt. I know that I can do this by iterating through file1.txt, grepping file2.txt for each line and storing the result, and outputting any lines where the result is empty, but I was hoping for a more efficient way to do this.