minix man page for comm

Query: comm

OS: minix

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

COMM(1) 						      General Commands Manual							   COMM(1)

NAME
comm - print lines common to two sorted files
SYNOPSIS
comm [-123] file1 file2
OPTIONS
-1 Suppress column 1 (lines present only in file1) -2 Suppress column 2 (lines present only in file2) -3 Suppress column 3 (lines present in both files)
EXAMPLES
comm file1 file2 # Print all three columns comm -12 file1 file2 # Print only lines common to both files
DESCRIPTION
Two sorted files are read and compared. A three column listing is produced. Files only in file1 are in column 1; files only in file2 are in column 2; files common to both files are in column 3. The file name - means stdin.
SEE ALSO
cmp(1), diff(1), sort(1). COMM(1)
Related Man Pages
comm(1) - centos
comm(1) - opendarwin
comm(1) - osf1
comm(1) - netbsd
comm(1) - xfree86
Similar Topics in the Unix Linux Community
What is your favorite Linux distro?
Solaris installation
Include white spaces while using CUT command
How Can We Increase the Size of Our Community?
Allow mods and admins to comment in posts