From f09b0dc4c88158a652ddb82d2f086de733c5f1ef Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Tue, 15 Jan 2019 14:34:13 -0500 Subject: [PATCH] fix dog/hog/dhog split --- pages/osx/split.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/osx/split.md b/pages/osx/split.md index 0400d951a..3cfc857cf 100644 --- a/pages/osx/split.md +++ b/pages/osx/split.md @@ -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 -p {{cat|[d|h]og}} {{filename}}` +`split -p {{cat|^[dh]og}} {{filename}}` - Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes):