Commit | Line | Data |
---|---|---|
53e3f77f | 1 | .\" @(#)split.1 6.1 (Berkeley) %G% |
9da17885 | 2 | .\" |
53e3f77f | 3 | .TH SPLIT 1 "" |
9da17885 KM |
4 | .AT 3 |
5 | .SH NAME | |
6 | split \- split a file into pieces | |
7 | .SH SYNOPSIS | |
8 | .B split | |
9 | [ | |
10 | .B \-\fIn | |
11 | ] | |
12 | [ file [ name ] ] | |
13 | .SH DESCRIPTION | |
14 | .I Split | |
15 | reads | |
16 | .I file | |
17 | and writes | |
18 | it in | |
19 | .IR n -line | |
20 | pieces | |
21 | (default 1000), as many as necessary, | |
22 | onto | |
23 | a set of output files. The name of the first output | |
24 | file is | |
25 | .I name | |
26 | with | |
27 | .B aa | |
28 | appended, and so on | |
29 | lexicographically. | |
30 | If no output name is given, | |
31 | .B x | |
32 | is default. | |
33 | .PP | |
34 | If no input file is given, or | |
35 | if | |
36 | .B \- | |
37 | is given in its stead, | |
38 | then the standard input file is used. |