On 2014-04-25 21:44, Groepaz wrote: > On Friday 25 April 2014, you wrote: >> On Thu, Apr 24, 2014 at 11:16:29PM +0200, silverdr@wfmh.org.pl 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 >> on-the-fly: >> >> 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. > > vbindiff is a nice tool for this kind of stuff, most distros should have a > package :) > dhex (unix curses application) can do visual hex diffs between two files - and many many more things http://www.dettus.net/dhex/ /Uffe :-) Message was sent through the cbm-hackers mailing listReceived on 2014-06-07 01:00:04
Archive generated by hypermail 2.2.0.