BSD 3 development
[unix-history] / usr / man / man1 / split.1
CommitLineData
e6817382
BJ
1.TH SPLIT 1
2.SH NAME
3split \- split a file into pieces
4.SH SYNOPSIS
5.B split
6[
7.B \-\fIn
8]
9[ file [ name ] ]
10.SH DESCRIPTION
11.I Split
12reads
13.I file
14and writes
15it in
16.IR n -line
17pieces
18(default 1000), as many as necessary,
19onto
20a set of output files. The name of the first output
21file is
22.I name
23with
24.B aa
25appended, and so on
26lexicographically.
27If no output name is given,
28.B x
29is default.
30.PP
31If no input file is given, or
32if
33.B \-
34is given in its stead,
35then the standard input file is used.