![]() |
![]()
| ![]() |
![]()
NAMEcompare - fast binary comparison of two files SYNOPSIScompare [ options ] file1 file2 DESCRIPTIONCompare examines one file and standard in, or two files on a byte by byte basis, and prints the file position of the first difference it finds, first in decimal and then in hexadecimal, followed by the differing byte content in hexadecimal and as quoted character. Compare is similar to the UNIX utility cmp(1) but faster. The lines count from 1, the byte offset counts from 0. This is a deviation from the UNIX cmp(1) utility, which counts byte offsets beginning from 1. OPTIONSNote all options can be abbreviated to their first letter.
NOTESnumbers in the options begin=#, begin1=#, begin2=#, and count=# are assumed to be bytes. However typing the character 'b' after the number means blocks (512 bytes). (E.g. begin=6b count=1000b). Other suffixes may used as for the bs= option in sdd(1) 'k' means 1024 bytes, 'm' means 1024 KBytes. BUGSNot known. HISTORYcompare(1) was initially written by Joerg Schilling in 1985 and has been maintained ever since by Joerg Schilling. AUTHORSJoerg Schilling and the schilytools project authors. Mail bugs and suggestions to: schilytools@mlists.in-berlin.de or open a ticket at: https://codeberg.org/schilytools/schilytools/issues The mailing list archive may be found at: https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de SOURCE DOWNLOADThe source code for compare is included in the schilytools project and may be retrieved from the schilytools project at Codeberg at: https://codeberg.org/schilytools/schilytools/ The download directory is: https://codeberg.org/schilytools/schilytools/releases
|