Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-23 00:19:06 +00:00
parent 8ba6f7fc9e
commit 94c28849c9
382 changed files with 1183 additions and 1056 deletions

View File

@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- Detect file(s) encoding specifying a language in the POSIX/C locale format (e.g. zh_CN, en_US):
`enca -L {{language}} {{path/to/file1 path/to/file2 ...}}`
`enca {{[-L|--language]}} {{language}} {{path/to/file1 path/to/file2 ...}}`
- Convert file(s) to a specific encoding:
`enca -L {{language}} -x {{to_encoding}} {{path/to/file1 path/to/file2 ...}}`
`enca {{[-L|--language]}} {{language}} {{[-x|--convert-to]}} {{to_encoding}} {{path/to/file1 path/to/file2 ...}}`
- Create a copy of an existing file using a different encoding:
`enca -L {{language}} -x {{to_encoding}} < {{original_file}} > {{new_file}}`
`enca {{[-L|--language]}} {{language}} {{[-x|--convert-to]}} {{to_encoding}} < {{original_file}} > {{new_file}}`