mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
*: add option placeholders to GNU software and some others (#15986)
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
|
||||
- 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