Hello Marko, * On Fri, Apr 25, 2014 at 08:16:42AM +0300 Marko Mäkelä wrote: > To compare binary files that are of the same size, I often do > something like this: > > od -Ax -t x1 file1.bin > file1.txt > od -Ax -t x1 file2.bin > file2.txt > > diff -u file1.txt file2.txt Me too, but I use xxd instead: http://cbmrom.trikaliotis.net/gitweb/?p=cbmrom.git;a=blob;f=check_utils.sh;h=3b4a47d9281baa747c9a85e96cae4c7d34ebd768;hb=master (lines 16-26) Anyway, in this special case, I only wanted to know if they are identical. In this case, diff is enough. Regards, Spiro. -- Spiro R. Trikaliotis http://www.trikaliotis.net/ Message was sent through the cbm-hackers mailing listReceived on 2014-04-25 07:00:08
Archive generated by hypermail 2.2.0.