From 0e286f086c7bf9c728c2917887ad46ec7916271e Mon Sep 17 00:00:00 2001 From: David Schultz Date: Sun, 16 Mar 2008 15:15:32 +0000 Subject: 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 PR: 113175 --- usr.bin/split/split.1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'usr.bin/split/split.1') diff --git a/usr.bin/split/split.1 b/usr.bin/split/split.1 index 5e8e198cba9e..782521984f8a 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 , -- cgit v1.2.3