source: vendor/diffutils/2.8.1/man/cmp.1

Last change on this file was 2556, checked in by bird, 19 years ago

diffutils 2.8.1

File size: 1.9 KB
Line 
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
4cmp \- 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
9Compare two files byte by byte.
10.TP
11\fB\-b\fR \fB\-\-print\-bytes\fR
12Print differing bytes.
13.TP
14\fB\-i\fR SKIP \fB\-\-ignore\-initial\fR=\fISKIP\fR
15Skip the first SKIP bytes of input.
16.HP
17\fB\-i\fR SKIP1:SKIP2 \fB\-\-ignore\-initial\fR=\fISKIP1\fR:SKIP2
18.IP
19Skip the first SKIP1 bytes of FILE1 and the first SKIP2 bytes of FILE2.
20.TP
21\fB\-l\fR \fB\-\-verbose\fR
22Output byte numbers and values of all differing bytes.
23.TP
24\fB\-n\fR LIMIT \fB\-\-bytes\fR=\fILIMIT\fR
25Compare at most LIMIT bytes.
26.TP
27\fB\-s\fR \fB\-\-quiet\fR \fB\-\-silent\fR
28Output nothing; yield exit status only.
29.TP
30\fB\-v\fR \fB\-\-version\fR
31Output version info.
32.TP
33\fB\-\-help\fR
34Output this help.
35.PP
36SKIP1 and SKIP2 are the number of bytes to skip in each file.
37SKIP values may be followed by the following multiplicative suffixes:
38kB 1000, K 1024, MB 1,000,000, M 1,048,576,
39GB 1,000,000,000, G 1,073,741,824, and so on for T, P, E, Z, Y.
40.PP
41If a FILE is `-' or missing, read standard input.
42.SH AUTHOR
43Written by Torbjorn Granlund and David MacKenzie.
44.SH "REPORTING BUGS"
45Report bugs to <bug-gnu-utils@gnu.org>.
46.SH COPYRIGHT
47Copyright \(co 2002 Free Software Foundation, Inc.
48.PP
49This program comes with NO WARRANTY, to the extent permitted by law.
50You may redistribute copies of this program
51under the terms of the GNU General Public License.
52For more information about these matters, see the file named COPYING.
53.SH "SEE ALSO"
54The full documentation for
55.B cmp
56is maintained as a Texinfo manual. If the
57.B info
58and
59.B cmp
60programs are properly installed at your site, the command
61.IP
62.B info diff
63.PP
64should give you access to the complete manual.
Note: See TracBrowser for help on using the repository browser.