diff options
author | das <das@FreeBSD.org> | 2008-03-16 15:15:32 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2008-03-16 15:15:32 +0000 |
commit | b406d6e2a32005eb05d9f083c4191d5650433f55 (patch) | |
tree | b7db89f000ae8b486155cc49ed0508d4e6849493 /usr.bin/split/split.1 | |
parent | c1f067745ecd591bda8ba41406a787bfa5c9eae2 (diff) | |
download | FreeBSD-src-b406d6e2a32005eb05d9f083c4191d5650433f55.zip FreeBSD-src-b406d6e2a32005eb05d9f083c4191d5650433f55.tar.gz |
Add a -n option to split(1) to split files into N chunks rather than
having to specify the right number of bytes.
Obtained from: NetBSD
Submitted by: Jan Schaumann <jschauma@netmeister.org>
PR: 113175
Diffstat (limited to 'usr.bin/split/split.1')
-rw-r--r-- | usr.bin/split/split.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/split/split.1 b/usr.bin/split/split.1 index 5e8e198..7825219 100644 --- a/usr.bin/split/split.1 +++ b/usr.bin/split/split.1 @@ -32,7 +32,7 @@ .\" @(#)split.1 8.3 (Berkeley) 4/16/94 .\" $FreeBSD$ .\" -.Dd August 10, 2006 +.Dd March 16, 2008 .Dt SPLIT 1 .Os .Sh NAME @@ -53,6 +53,10 @@ .Op Fl a Ar suffix_length .Op Ar file Op Ar prefix .Nm +.Fl n Ar chunk_count +.Op Fl a Ar suffix_length +.Op Ar file Op Ar prefix +.Nm .Fl p Ar pattern .Op Fl a Ar suffix_length .Op Ar file Op Ar prefix @@ -112,6 +116,10 @@ gigabyte pieces. Create smaller files .Ar line_count lines in length. +.It Fl n Ar chunk_count +Split file int +.Ar chunk_count +smaller files. .It Fl p Ar pattern The file is split whenever an input line matches .Ar pattern , |