Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-27 00:18:38 +00:00
parent 5871f35fe8
commit 9fe6559a97
123 changed files with 660 additions and 357 deletions

View File

@@ -22,11 +22,11 @@ source: https://github.com/tldr-pages/tldr.git
- Delete all occurrences of the specified set of characters from the input:
`tr -d '{{input_characters}}' < {{path/to/file}}`
`tr {{[-d|--delete]}} '{{input_characters}}' < {{path/to/file}}`
- Compress a series of identical characters to a single character:
`tr -s '{{input_characters}}' < {{path/to/file}}`
`tr {{[-s|--squeeze-repeats]}} '{{input_characters}}' < {{path/to/file}}`
- Translate the contents of a file to upper-case:
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
- Strip out non-printable characters from a file:
`tr -cd "[:print:]" < {{path/to/file}}`
`tr {{[-cd|--complement --delete]}} "[:print:]" < {{path/to/file}}`