OSDN Git Service

GNU_coreutils: Update originals to version 8.16.
[linuxjm/coreutils.git] / original / man1 / comm.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH COMM "1" "March 2012" "GNU coreutils 8.16" "User Commands"
3 .SH NAME
4 comm \- compare two sorted files line by line
5 .SH SYNOPSIS
6 .B comm
7 [\fIOPTION\fR]... \fIFILE1 FILE2\fR
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Compare sorted files FILE1 and FILE2 line by line.
12 .PP
13 With no options, produce three\-column output.  Column one contains
14 lines unique to FILE1, column two contains lines unique to FILE2,
15 and column three contains lines common to both files.
16 .TP
17 \fB\-1\fR
18 suppress column 1 (lines unique to FILE1)
19 .TP
20 \fB\-2\fR
21 suppress column 2 (lines unique to FILE2)
22 .TP
23 \fB\-3\fR
24 suppress column 3 (lines that appear in both files)
25 .TP
26 \fB\-\-check\-order\fR
27 check that the input is correctly sorted, even
28 if all input lines are pairable
29 .TP
30 \fB\-\-nocheck\-order\fR
31 do not check that the input is correctly sorted
32 .TP
33 \fB\-\-output\-delimiter\fR=\fISTR\fR
34 separate columns with STR
35 .TP
36 \fB\-\-help\fR
37 display this help and exit
38 .TP
39 \fB\-\-version\fR
40 output version information and exit
41 .PP
42 Note, comparisons honor the rules specified by 'LC_COLLATE'.
43 .SH EXAMPLES
44 .TP
45 comm \fB\-12\fR file1 file2
46 Print only lines present in both file1 and file2.
47 .TP
48 comm \fB\-3\fR file1 file2
49 Print lines in file1 not in file2, and vice versa.
50 .SH AUTHOR
51 Written by Richard M. Stallman and David MacKenzie.
52 .SH "REPORTING BUGS"
53 Report comm bugs to bug\-coreutils@gnu.org
54 .br
55 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
56 .br
57 General help using GNU software: <http://www.gnu.org/gethelp/>
58 .br
59 Report comm translation bugs to <http://translationproject.org/team/>
60 .SH COPYRIGHT
61 Copyright \(co 2012 Free Software Foundation, Inc.
62 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
63 .br
64 This is free software: you are free to change and redistribute it.
65 There is NO WARRANTY, to the extent permitted by law.
66 .SH "SEE ALSO"
67 join(1), uniq(1)
68 .PP
69 The full documentation for
70 .B comm
71 is maintained as a Texinfo manual.  If the
72 .B info
73 and
74 .B comm
75 programs are properly installed at your site, the command
76 .IP
77 .B info coreutils \(aqcomm invocation\(aq
78 .PP
79 should give you access to the complete manual.