mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 02:26:01 +02:00
split: remove split into n files, add split by pattern
This commit is contained in:
parent
9f41228b7a
commit
bcda9b60e3
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@
|
|||
|
||||
`split -l {{10}} {{filename}}`
|
||||
|
||||
- Split a file into 5 files. File is split such that each split has same size (except the last split):
|
||||
- Split a file by a pattern (the pattern is the head of each split):
|
||||
|
||||
`split -n {{5}} {{filename}}`
|
||||
`split -p {{pattern}} {{filename}}`
|
||||
|
||||
- Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue