1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.27.
2 .TH CMP "1" "April 2002" "diffutils 2.8.1" "User Commands"
4 cmp \- compare two files byte by byte
7 [\fIOPTION\fR]... \fIFILE1 \fR[\fIFILE2 \fR[\fISKIP1 \fR[\fISKIP2\fR]]]
9 Compare two files byte by byte.
11 \fB\-b\fR \fB\-\-print\-bytes\fR
12 Print differing bytes.
14 \fB\-i\fR SKIP \fB\-\-ignore\-initial\fR=\fISKIP\fR
15 Skip the first SKIP bytes of input.
17 \fB\-i\fR SKIP1:SKIP2 \fB\-\-ignore\-initial\fR=\fISKIP1\fR:SKIP2
19 Skip the first SKIP1 bytes of FILE1 and the first SKIP2 bytes of FILE2.
21 \fB\-l\fR \fB\-\-verbose\fR
22 Output byte numbers and values of all differing bytes.
24 \fB\-n\fR LIMIT \fB\-\-bytes\fR=\fILIMIT\fR
25 Compare at most LIMIT bytes.
27 \fB\-s\fR \fB\-\-quiet\fR \fB\-\-silent\fR
28 Output nothing; yield exit status only.
30 \fB\-v\fR \fB\-\-version\fR
36 SKIP1 and SKIP2 are the number of bytes to skip in each file.
37 SKIP values may be followed by the following multiplicative suffixes:
38 kB 1000, K 1024, MB 1,000,000, M 1,048,576,
39 GB 1,000,000,000, G 1,073,741,824, and so on for T, P, E, Z, Y.
41 If a FILE is `-' or missing, read standard input.
43 Written by Torbjorn Granlund and David MacKenzie.
45 Report bugs to <bug-gnu-utils@gnu.org>.
47 Copyright \(co 2002 Free Software Foundation, Inc.
49 This program comes with NO WARRANTY, to the extent permitted by law.
50 You may redistribute copies of this program
51 under the terms of the GNU General Public License.
52 For more information about these matters, see the file named COPYING.
54 The full documentation for
56 is maintained as a Texinfo manual. If the
60 programs are properly installed at your site, the command
64 should give you access to the complete manual.