compare - Fast binary comparison of two files

| | Comments (0)

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

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on August 26, 2005 10:07 AM.

Apache + Tomcat with mod_jk.so was the previous entry in this blog.

Movable Type RSS 圖出不來 ? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.