Computer Science


COMM(1)                                                   COMM(1)

NAME
       comm - compare two sorted files line by line

SYNOPSIS
       comm [-123] [--help] [--version] file1 file2

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

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

   OPTIONS
       The options -1, -2, and -3 suppress printing of the corre-
       sponding columns.

       --help Print  a  usage message and exit with a status code
              indicating success.

       --version
              Print version information on standard  output  then
              exit.

FSF                     GNU Text Utilities                      1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page