Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

27
combine Normal file
View File

@@ -0,0 +1,27 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`