1COMM(1) User Commands COMM(1)
2
3
4
6 comm - compare two sorted files line by line
7
9 comm [OPTION]... FILE1 FILE2
10
12 Compare sorted files FILE1 and FILE2 line by line.
13
14 With no options, produce three-column output. Column one contains
15 lines unique to FILE1, column two contains lines unique to FILE2, and
16 column three contains lines common to both files.
17
18 -1 suppress lines unique to FILE1
19
20 -2 suppress lines unique to FILE2
21
22 -3 suppress lines that appear in both files
23
24 --help display this help and exit
25
26 --version
27 output version information and exit
28
30 Written by Richard Stallman and David MacKenzie.
31
33 Report bugs to <bug-coreutils@gnu.org>.
34
36 Copyright © 2007 Free Software Foundation, Inc.
37 This is free software. You may redistribute copies of it under the
38 terms of the GNU General Public License
39 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
40 extent permitted by law.
41
43 The full documentation for comm is maintained as a Texinfo manual. If
44 the info and comm programs are properly installed at your site, the
45 command
46
47 info comm
48
49 should give you access to the complete manual.
50
51
52
53GNU coreutils 6.9 March 2008 COMM(1)