xref: /386bsd/usr/share/man/cat1/split.0 (revision a2142627)
1SPLIT(1)                    386BSD Reference Manual                   SPLIT(1)
2
3NNAAMMEE
4     sspplliitt - split a file into pieces
5
6SSYYNNOOPPSSIISS
7     sspplliitt [--_n] [--bb _b_y_t_e_s] [_f_i_l_e [_n_a_m_e]]
8
9DDEESSCCRRIIPPTTIIOONN
10     The sspplliitt utility reads the given _f_i_l_e and splits it up in to smaller
11     files.
12
13     Available options:
14
15     --_l_i_n_e_s     Create files of length --_n lines long.
16
17     --bb _b_y_t_e_s   Create files of length _b_y_t_e_s. If no output file length is
18                specified, the file size will default to a lenght of 1000
19                lines.
20
21     Available operands:
22
23     --     Read from the standard input.
24
25     _f_i_l_e  A pathname specifying the _f_i_l_e to be split.  If no _f_i_l_e operand is
26           given, sspplliitt reads from the standard input.
27
28     _n_a_m_e  If the _n_a_m_e operand is given, the output files will begin with the
29           prefix _n_a_m_e and each sequential portion of the split file receives
30           a lexically ordered suffix in the range of [_a_a-_z_z]. If the operand
31           _n_a_m_e is not specified, the default prefix of _x is be used.
32
33BBUUGGSS
34     If you provide _n_a_m_e, sspplliitt can only create 676 separate files.  The
35     default naming convention allows 2028 separate files.
36
37HHIISSTTOORRYY
38     A sspplliitt command appeared in Version 6 AT&T UNIX.
39
40BSD Experimental                 July 29, 1991                               1
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67