split.1 (0e286f086c7bf9c728c2917887ad46ec7916271e) | split.1 (cff548f0dd9fc0a042b8bbba6600bca5a5e5033b) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 18 unchanged lines hidden (view full) --- 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)split.1 8.3 (Berkeley) 4/16/94 33.\" $FreeBSD$ 34.\" | 1.\" Copyright (c) 1990, 1991, 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 18 unchanged lines hidden (view full) --- 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)split.1 8.3 (Berkeley) 4/16/94 33.\" $FreeBSD$ 34.\" |
35.Dd March 16, 2008 | 35.Dd January 23, 2009 |
36.Dt SPLIT 1 37.Os 38.Sh NAME 39.Nm split 40.Nd split a file into pieces 41.Sh SYNOPSIS 42.Nm 43.Op Fl l Ar line_count --- 39 unchanged lines hidden (view full) --- 83Use 84.Ar suffix_length 85letters to form the suffix of the file name. 86.It Fl b Ar byte_count Ns Oo 87.Sm off 88.Cm K | k | M | m | G | g 89.Sm on 90.Oc | 36.Dt SPLIT 1 37.Os 38.Sh NAME 39.Nm split 40.Nd split a file into pieces 41.Sh SYNOPSIS 42.Nm 43.Op Fl l Ar line_count --- 39 unchanged lines hidden (view full) --- 83Use 84.Ar suffix_length 85letters to form the suffix of the file name. 86.It Fl b Ar byte_count Ns Oo 87.Sm off 88.Cm K | k | M | m | G | g 89.Sm on 90.Oc |
91Create smaller files | 91Create split files |
92.Ar byte_count 93bytes in length. 94If 95.Cm k 96or 97.Cm K 98is appended to the number, the file is split into 99.Ar byte_count --- 8 unchanged lines hidden (view full) --- 108If 109.Cm g 110or 111.Cm G 112is appended to the number, the file is split into 113.Ar byte_count 114gigabyte pieces. 115.It Fl l Ar line_count | 92.Ar byte_count 93bytes in length. 94If 95.Cm k 96or 97.Cm K 98is appended to the number, the file is split into 99.Ar byte_count --- 8 unchanged lines hidden (view full) --- 108If 109.Cm g 110or 111.Cm G 112is appended to the number, the file is split into 113.Ar byte_count 114gigabyte pieces. 115.It Fl l Ar line_count |
116Create smaller files | 116Create split files |
117.Ar line_count 118lines in length. 119.It Fl n Ar chunk_count 120Split file int 121.Ar chunk_count 122smaller files. 123.It Fl p Ar pattern 124The file is split whenever an input line matches --- 55 unchanged lines hidden --- | 117.Ar line_count 118lines in length. 119.It Fl n Ar chunk_count 120Split file int 121.Ar chunk_count 122smaller files. 123.It Fl p Ar pattern 124The file is split whenever an input line matches --- 55 unchanged lines hidden --- |