Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-13 00:18:34 +00:00
parent ffbd8c31db
commit 904f7fe0c1
46 changed files with 228 additions and 157 deletions

View File

@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- Output info of the first difference: char, line number, bytes, and values:
`cmp --print-bytes {{path/to/file1}} {{path/to/file2}}`
`cmp {{[-b|--print-bytes]}} {{path/to/file1}} {{path/to/file2}}`
- Output the byte numbers and values of every difference:
`cmp --verbose {{path/to/file1}} {{path/to/file2}}`
`cmp {{[-v|--verbose]}} {{path/to/file1}} {{path/to/file2}}`
- Compare files but output nothing, yield only the exit status:
`cmp --quiet {{path/to/file1}} {{path/to/file2}}`
`cmp {{[-s|--quiet]}} {{path/to/file1}} {{path/to/file2}}`