I want to find which of the patterns or words are not present in file. Example :
test.txt
marco
polo
charlie
anthony
john
egrep 'marco|polo' test.txt
will output marco and polo
But I want a command to output the word if its not present in file:
Ex : egrep 'cindrella|daniel|polo' test.txt
should output cindrella and daniel and not polo.