diff --git a/pages/osx/split.md b/pages/osx/split.md index 0400d951a9..3cfc857cfb 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):