From 3768c57acbb2d2c727acd5436d90218eb31434fe Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Tue, 15 Jan 2019 12:51:00 -0500 Subject: [PATCH] split: mention regex instead of pattern --- pages/osx/split.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/osx/split.md b/pages/osx/split.md index 0300902606..2702cabe90 100644 --- a/pages/osx/split.md +++ b/pages/osx/split.md @@ -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):