comm(1) plan9 man page | unix.com

Man Page: comm

Operating Environment: plan9

Section: 1

COMM(1) 						      General Commands Manual							   COMM(1)

NAME
comm - select or reject lines common to two sorted files
SYNOPSIS
comm [ -123 ] file1 file2
DESCRIPTION
Comm reads file1 and file2, which are in lexicographical order, and produces a three column output: lines only in file1; lines only in file2; and lines in both files. The file name means the standard input. Flag or suppresses printing of the corresponding column.
EXAMPLE
comm -12 file1 file2 Print lines common to two sorted files.
SOURCE
/sys/src/cmd/comm.c
SEE ALSO
sort(1), cmp(1), diff(1), uniq(1) COMM(1)
Related Man Pages
comm(1) - opensolaris
comm(1) - netbsd
comm(1) - sunos
comm(1) - osx
comm(1) - x11r4
Similar Topics in the Unix Linux Community
What editor does everyone use?
Allow mods and admins to comment in posts
Allow mods and admins to comment in posts
AWK Command
Building JSON command with bash script