Usage: /usr/bin/ceph-diff-sorted <file1> <file2>
Exit status (5) from the manual page
0 | files same |
1 | files different |
2 | usage problem (e.g., wrong number of command-line arguments) |
3 | problem opening input file |
4 | bad file content (e.g., unsorted order or empty lines) |
Examples (1) from the manual page, untested
ceph-diff-sorted fileA.txt fileB.txt
Compare two files: