Consider I have 2 text files with each row in both files containing certain fields delimited by '|'. If I have sorted the files using the 3rd column, does comm -23 file1.txt file2.txt > difference.txt
give me the rows which are present in file1.txt and NOT in file2.txt?
Thanks in advance.