On 12/7/07, Volker Kuhlmann <[EMAIL PROTECTED]> wrote: > cmp -l shows the address in decimal and the differing bytes as octal. I need > the bytes in hex. Is there a similarly easy way to achieve this with another > command I haven't heard of? Doesn't have to be cmp - anything which shows > the difference between two binary files with hex output.
Not perhaps as convenient as you might desire, but how about something like: od -A x -x file1 > file1.odx.txt od -A x -x file2 > file2.odx.txt diff file1.odx.txt file2.odx.txt Both addresses and data expressed in Hex. You could use cmp to display the differences, but imho the o/p is incomprehensible. -- Sincerely etc. Christopher Sawtell
