1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 22:15:42 +02:00

split: mention regex instead of pattern

This commit is contained in:
Jonathan Dahan 2019-01-15 12:51:00 -05:00 committed by Starbeamrainbowlabs
parent bcda9b60e3
commit 3768c57acb

View file

@ -6,9 +6,9 @@
`split -l {{10}} {{filename}}`
- Split a file by a pattern (the pattern is the head of each split):
- Split a file by a regular expression. The matching line will be the first line of the next output file:
`split -p {{pattern}} {{filename}}`
`split -p {{regular expression}} {{filename}}`
- Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes):