summaryrefslogtreecommitdiffstats
path: root/man/comm.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:39:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:39:29 +0000
commit8ffec2a3aba6f114784e11f89ef1d57a096ae540 (patch)
treeccebcbad06203e8241a8e7249f8e6c478a3682ea /man/comm.1
parentInitial commit. (diff)
downloadcoreutils-8ffec2a3aba6f114784e11f89ef1d57a096ae540.tar.xz
coreutils-8ffec2a3aba6f114784e11f89ef1d57a096ae540.zip
Adding upstream version 8.32.upstream/8.32upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/comm.1')
-rw-r--r--man/comm.176
1 files changed, 76 insertions, 0 deletions
diff --git a/man/comm.1 b/man/comm.1
new file mode 100644
index 0000000..1c601bd
--- /dev/null
+++ b/man/comm.1
@@ -0,0 +1,76 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
+.TH COMM "1" "March 2020" "GNU coreutils 8.32" "User Commands"
+.SH NAME
+comm \- compare two sorted files line by line
+.SH SYNOPSIS
+.B comm
+[\fI\,OPTION\/\fR]... \fI\,FILE1 FILE2\/\fR
+.SH DESCRIPTION
+.\" Add any additional description here
+.PP
+Compare sorted files FILE1 and FILE2 line by line.
+.PP
+When FILE1 or FILE2 (not both) is \-, read standard input.
+.PP
+With no options, produce three\-column output. Column one contains
+lines unique to FILE1, column two contains lines unique to FILE2,
+and column three contains lines common to both files.
+.TP
+\fB\-1\fR
+suppress column 1 (lines unique to FILE1)
+.TP
+\fB\-2\fR
+suppress column 2 (lines unique to FILE2)
+.TP
+\fB\-3\fR
+suppress column 3 (lines that appear in both files)
+.TP
+\fB\-\-check\-order\fR
+check that the input is correctly sorted, even
+if all input lines are pairable
+.TP
+\fB\-\-nocheck\-order\fR
+do not check that the input is correctly sorted
+.TP
+\fB\-\-output\-delimiter\fR=\fI\,STR\/\fR
+separate columns with STR
+.TP
+\fB\-\-total\fR
+output a summary
+.TP
+\fB\-z\fR, \fB\-\-zero\-terminated\fR
+line delimiter is NUL, not newline
+.TP
+\fB\-\-help\fR
+display this help and exit
+.TP
+\fB\-\-version\fR
+output version information and exit
+.PP
+Note, comparisons honor the rules specified by 'LC_COLLATE'.
+.SH EXAMPLES
+.TP
+comm \-12 file1 file2
+Print only lines present in both file1 and file2.
+.TP
+comm \-3 file1 file2
+Print lines in file1 not in file2, and vice versa.
+.SH AUTHOR
+Written by Richard M. Stallman and David MacKenzie.
+.SH "REPORTING BUGS"
+GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
+.br
+Report any translation bugs to <https://translationproject.org/team/>
+.SH COPYRIGHT
+Copyright \(co 2020 Free Software Foundation, Inc.
+License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
+.br
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
+.SH "SEE ALSO"
+join(1), uniq(1)
+.PP
+.br
+Full documentation <https://www.gnu.org/software/coreutils/comm>
+.br
+or available locally via: info \(aq(coreutils) comm invocation\(aq