comparing lines of two text files
I'm trying to check if all lines from one small text file (1Mb) are matched in a very very large text file (4Gb). both text files have the same format, so the lines should be identical.
Is there a fast and simple way of listing all lines that are not found in big file?
I had tried using perl, checking line by line, but its veeeery slow.