mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 00:17:56 +01:00
add example of splitting by animal name
This commit is contained in:
parent
3768c57acb
commit
e8a6135117
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
- Split a file by a regular expression. The matching line will be the first line of the next output file:
|
- Split a file by a regular expression. The matching line will be the first line of the next output file:
|
||||||
|
|
||||||
`split -p {{regular expression}} {{filename}}`
|
`split -p {{cat|[d|h]og}} {{filename}}`
|
||||||
|
|
||||||
- Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes):
|
- Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue