Re: Two 1541-II drives with problems

From: Spiro Trikaliotis <ml-cbmhackers_at_trikaliotis.net>
Date: Fri, 25 Apr 2014 08:11:41 +0200
Message-ID: <20140425061141.GD20348@hermes.local.trikaliotis.net>
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 list
Received on 2014-04-25 07:00:08

Archive generated by hypermail 2.2.0.