How to get mismatch content from 2 sorted files Get link Facebook X Pinterest Email Other Apps November 13, 2020 To fetch mismatch content between 2 sorted files (which has numeric data) please use below command. diff -a --suppress-common-lines -y file1 file2 | sed 's/\s*>.//' Read more