mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 06:49:24 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user