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

@@ -19,11 +19,11 @@ source: https://github.com/tldr-pages/tldr.git
- Split a file every 5 lines, ignoring exact-division error:
`csplit -k {{path/to/file}} 5 {*}`
`csplit {{[-k|--keep-files]}} {{path/to/file}} 5 {*}`
- Split a file at line 5 and use a custom prefix for the output files:
`csplit {{path/to/file}} 5 -f {{prefix}}`
`csplit {{path/to/file}} 5 {{[-f|--prefix]}} {{prefix}}`
- Split a file at a line matching a regular expression: