1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.39.2.
2 .TH CMP "1" "September 2011" "diffutils 3.2" "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 The optional SKIP1 and SKIP2 specify the number of bytes to skip
12 at the beginning of each file (zero by default).
14 Mandatory arguments to long options are mandatory for short options too.
16 \fB\-b\fR, \fB\-\-print\-bytes\fR
19 \fB\-i\fR, \fB\-\-ignore\-initial\fR=\fISKIP\fR
20 skip first SKIP bytes of both inputs
22 \fB\-i\fR, \fB\-\-ignore\-initial\fR=\fISKIP1\fR:SKIP2
23 skip first SKIP1 bytes of FILE1 and
24 first SKIP2 bytes of FILE2
26 \fB\-l\fR, \fB\-\-verbose\fR
27 output byte numbers and differing byte values
29 \fB\-n\fR, \fB\-\-bytes\fR=\fILIMIT\fR
30 compare at most LIMIT bytes
32 \fB\-s\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
33 suppress all normal output
36 display this help and exit
38 \fB\-v\fR, \fB\-\-version\fR
39 output version information and exit
41 SKIP values may be followed by the following multiplicative suffixes:
42 kB 1000, K 1024, MB 1,000,000, M 1,048,576,
43 GB 1,000,000,000, G 1,073,741,824, and so on for T, P, E, Z, Y.
45 If a FILE is `\-' or missing, read standard input.
46 Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.
48 Written by Torbjorn Granlund and David MacKenzie.
50 Report bugs to: bug\-diffutils@gnu.org
52 GNU diffutils home page: <http://www.gnu.org/software/diffutils/>
54 General help using GNU software: <http://www.gnu.org/gethelp/>
56 Copyright \(co 2011 Free Software Foundation, Inc.
57 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
59 This is free software: you are free to change and redistribute it.
60 There is NO WARRANTY, to the extent permitted by law.
62 diff(1), diff3(1), sdiff(1)
64 The full documentation for
66 is maintained as a Texinfo manual. If the
70 programs are properly installed at your site, the command
74 should give you access to the complete manual.