Re: Two 1541-II drives with problems

From: Marko Mäkelä <>
Date: Fri, 25 Apr 2014 08:16:42 +0300
Message-ID: <20140425051642.GA4078@x220>
On Thu, Apr 24, 2014 at 11:16:29PM +0200, wrote:
>       diff - compare files line by line
>But diff can be used as well. 

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

Actually, I usually do not construct the file2.txt, but compare it 

od -Ax -t x1 file2.bin | diff -u file1.txt -

These should work on any Unix. In the past, I used a program called 
"hexdump" in some GNU/Linux distributions.


       Message was sent through the cbm-hackers mailing list
Received on 2014-04-25 06:00:02

Archive generated by hypermail 2.2.0.