How to get mismatch content from 2 sorted files
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*>.//'
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*>.//'
Comments
Post a Comment