I have a list of about 23 million hashes in a text file, one hash per line. Call it hashes.txt I have a list of nuisance hash values (app 40) in another text file, again one hash per line. Call it culls.txt
I'm attempting to use the patterns in culls.txt to do a reverse grep, which is to say I want to output any line that does not match any of the patterns in the cull list.
grep -v -F -f culls.txt hashes.txt > Output.txt
What is happening as that only the very last hash in the list of 40 or so it removed. All hashes on the preceding lines remain. I'm stymied. Suggestions? And, yes, the values are in the hash file ;->