Introduction
Introduction Statistics Contact Development Disclaimer Help
comm.1 - sbase - suckless unix tools
git clone git://git.suckless.org/sbase
Log
Files
Refs
README
LICENSE
---
comm.1 (610B)
---
1 .Dd October 8, 2015
2 .Dt COMM 1
3 .Os sbase
4 .Sh NAME
5 .Nm comm
6 .Nd select or reject lines common to two files
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl 123
10 .Ar file1
11 .Ar file2
12 .Sh DESCRIPTION
13 .Nm
14 reads
15 .Ar file1
16 and
17 .Ar file2,
18 which should both be sorted lexically, and writes three text columns
19 to stdout:
20 .Bl -tag -width Ds
21 .It 1
22 Lines only in
23 .Ar file1 .
24 .It 2
25 Lines only in
26 .Ar file2 .
27 .It 3
28 Common lines.
29 .El
30 .Sh OPTIONS
31 .Bl -tag -width Ds
32 .It Fl 1 | Fl 2 | Fl 3
33 Suppress column 1 | 2 | 3
34 .El
35 .Sh SEE ALSO
36 .Xr cmp 1 ,
37 .Xr sort 1 ,
38 .Xr uniq 1
39 .Sh STANDARDS
40 The
41 .Nm
42 utility is compliant with the
43 .St -p1003.1-2013
44 specification.
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.