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"
|
---|
3 | .SH NAME
|
---|
4 | cmp \- compare two files byte by byte
|
---|
5 | .SH SYNOPSIS
|
---|
6 | .B cmp
|
---|
7 | [\fIOPTION\fR]... \fIFILE1 \fR[\fIFILE2 \fR[\fISKIP1 \fR[\fISKIP2\fR]]]
|
---|
8 | .SH DESCRIPTION
|
---|
9 | Compare two files byte by byte.
|
---|
10 | .TP
|
---|
11 | \fB\-b\fR \fB\-\-print\-bytes\fR
|
---|
12 | Print differing bytes.
|
---|
13 | .TP
|
---|
14 | \fB\-i\fR SKIP \fB\-\-ignore\-initial\fR=\fISKIP\fR
|
---|
15 | Skip the first SKIP bytes of input.
|
---|
16 | .HP
|
---|
17 | \fB\-i\fR SKIP1:SKIP2 \fB\-\-ignore\-initial\fR=\fISKIP1\fR:SKIP2
|
---|
18 | .IP
|
---|
19 | Skip the first SKIP1 bytes of FILE1 and the first SKIP2 bytes of FILE2.
|
---|
20 | .TP
|
---|
21 | \fB\-l\fR \fB\-\-verbose\fR
|
---|
22 | Output byte numbers and values of all differing bytes.
|
---|
23 | .TP
|
---|
24 | \fB\-n\fR LIMIT \fB\-\-bytes\fR=\fILIMIT\fR
|
---|
25 | Compare at most LIMIT bytes.
|
---|
26 | .TP
|
---|
27 | \fB\-s\fR \fB\-\-quiet\fR \fB\-\-silent\fR
|
---|
28 | Output nothing; yield exit status only.
|
---|
29 | .TP
|
---|
30 | \fB\-v\fR \fB\-\-version\fR
|
---|
31 | Output version info.
|
---|
32 | .TP
|
---|
33 | \fB\-\-help\fR
|
---|
34 | Output this help.
|
---|
35 | .PP
|
---|
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.
|
---|
40 | .PP
|
---|
41 | If a FILE is `-' or missing, read standard input.
|
---|
42 | .SH AUTHOR
|
---|
43 | Written by Torbjorn Granlund and David MacKenzie.
|
---|
44 | .SH "REPORTING BUGS"
|
---|
45 | Report bugs to <bug-gnu-utils@gnu.org>.
|
---|
46 | .SH COPYRIGHT
|
---|
47 | Copyright \(co 2002 Free Software Foundation, Inc.
|
---|
48 | .PP
|
---|
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.
|
---|
53 | .SH "SEE ALSO"
|
---|
54 | The full documentation for
|
---|
55 | .B cmp
|
---|
56 | is maintained as a Texinfo manual. If the
|
---|
57 | .B info
|
---|
58 | and
|
---|
59 | .B cmp
|
---|
60 | programs are properly installed at your site, the command
|
---|
61 | .IP
|
---|
62 | .B info diff
|
---|
63 | .PP
|
---|
64 | should give you access to the complete manual.
|
---|