


COMM(1L)                                                 COMM(1L)


NNAAMMEE
       comm - compare two sorted files line by line

SSYYNNOOPPSSIISS
       ccoommmm [-123] file1 file2

DDEESSCCRRIIPPTTIIOONN
       This  manual page documents the GNU version of ccoommmm.  ccoommmm
       prints lines that are common, and lines that  are  unique,
       to  two  input files.  The two files must be sorted before
       ccoommmm can be used.  The file name `-'  means  the  standard
       input.

       With  no options, ccoommmm produces three column output.  Col-
       umn one contains lines unique to _f_i_l_e_1,  column  two  con-
       tains  lines  unique  to  _f_i_l_e_2, and column three contains
       lines common to both files.

   OOPPTTIIOONNSS
       The options _-_1, _-_2, and _-_3 suppress printing of the corre-
       sponding columns.




































                                                                1


