Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -2,22 +2,22 @@
> Select or reject lines common to two files. Both files must be sorted.
- Produce three tab-separated columns: lines only in first file, lines only in second file and common lines.
- Produce three tab-separated columns: lines only in first file, lines only in second file and common lines:
`comm {{file1}} {{file2}}`
- Print only lines common to both files.
- Print only lines common to both files:
`comm -12 {{file1}} {{file2}}`
- Print only lines common to both files, read one file from stdin.
- Print only lines common to both files, read one file from stdin:
`cat {{file1}} | comm -12 - {{file2}}`
- Print lines only found in first file.
- Print lines only found in first file:
`comm -23 {{file1}} {{file2}}`
- Print lines only found in second file.
- Print lines only found in second file:
`comm -13 {{file1}} {{file2}}`