chronic, combine, ifdata, ifne, isutf8: add pages (#12114)

* chronic, combine, ifdata, ifne, isutf8: add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
Juri Dispan
2024-01-24 08:29:50 +01:00
committed by GitHub
parent 4ed602d9fa
commit a5bc5828f3
5 changed files with 98 additions and 0 deletions

22
pages/common/combine.md Normal file
View File

@@ -0,0 +1,22 @@
# combine
> Perform set operations on lines of two files.
> The order of the output lines is determined by the order of the lines in the first file.
> See also: `diff`.
> More information: <https://joeyh.name/code/moreutils/>.
- Output lines that are in both specified files:
`combine {{path/to/file1}} and {{path/to/file2}}`
- Output lines that are in the first but not in the second file:
`combine {{path/to/file1}} not {{path/to/file2}}`
- Output lines that in are in either of the specified files:
`combine {{path/to/file1}} or {{path/to/file2}}`
- Output lines that are in exactly one of the specified files:
`combine {{path/to/file1}} xor {{path/to/file2}}`