Commit | Line | Data |
---|---|---|
ca67e7b4 | 1 | .\" @(#)split.1 6.2 (Berkeley) 11/20/86 |
9da17885 | 2 | .\" |
ca67e7b4 | 3 | .TH SPLIT 1 "November 20, 1986" |
9da17885 KM |
4 | .AT 3 |
5 | .SH NAME | |
6 | split \- split a file into pieces | |
7 | .SH SYNOPSIS | |
460f3462 | 8 | \fBsplit\fP [ -\fBn\fP ] [ -\fBb\fP byte_cnt ] [ file [ name ] ] |
9da17885 | 9 | .SH DESCRIPTION |
460f3462 | 10 | \fISplit\fP reads \fIfile\fP and writes it in |
9da17885 | 11 | .IR n -line |
460f3462 KB |
12 | pieces or in \fIbyte_cnt\fP byte pieces to a set of output |
13 | files. The default is in 1000 line pieces. The name of the | |
14 | first output file is \fIname\fP with "aa" appended, and so | |
15 | on, lexicographically, to "zz". If no output name is given, | |
16 | "x" is the default, in which case \fIsplit\fP will create | |
17 | files from "xaa" to "zzz". | |
9da17885 | 18 | .PP |
460f3462 KB |
19 | If no input file is given, or if \fB-\fP is given in its stead, then |
20 | the standard input file is used. | |
21 | .SH BUGS | |
22 | If you provide \fIname\fP, \fIsplit\fP can only create 676 separate | |
23 | files. The default naming convention allows 2028 separate files. |