A simple utility intended to be used in pipeline with unix
cmp -l command.
Converts all three columns of
cmp -l output (offset, byte value from left file,
byte value from right file) to hexadecimal numbers.
cmp -l output is formatted as "decimal octal octal", which is
Cmp does not support any commandline switches to change this
hexcmp covers for this drawback.
cmp -l file1 file2 | hexcmp
0045fd e8 eb 0045fe 37 3a 0045ff cf 90 004600 01 32 004601 00 c0
hexcmp supports one commandline switch:
-p. It allows to print a slightly "nicer looking" output:
0045fd: e8 -> eb 0045fe: 37 -> 3a 0045ff: cf -> 90 004600: 01 -> 32 004601: 00 -> c0