August 26, 2005

compare - Fast binary comparison of two files

compare is similar to cmp but faster and with better readable output.
compare -a file1 file2 ouput sample:
6458323 (0x628bd3) 0x29 != 0x20 )
6458963 (0x628e53) 0x6c != 0x6e l n
6458964 (0x628e54) 0x65 != 0x6f e o
6458965 (0x628e55) 0x66 != 0x6e f n
6458966 (0x628e56) 0x74 != 0x65 t e
similar to cmp -c -l file1 file2, but cmp shows octal code

Posted by pank at August 26, 2005 10:07 AM
Comments
Post a comment













Remember personal info?