Line | |
---|
1 | .TH SPLIT 1
|
---|
2 | .SH NAME
|
---|
3 | split \- split a large file into several smaller files
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBsplit\fR [\fB\-\fIn\fR]\fR [\fIfile \fR[\fIprefix\fR]\fR]\fR
|
---|
6 | .br
|
---|
7 | .de FL
|
---|
8 | .TP
|
---|
9 | \\fB\\$1\\fR
|
---|
10 | \\$2
|
---|
11 | ..
|
---|
12 | .de EX
|
---|
13 | .TP 20
|
---|
14 | \\fB\\$1\\fR
|
---|
15 | # \\$2
|
---|
16 | ..
|
---|
17 | .SH OPTIONS
|
---|
18 | .FL "\-\fIn\fP" "Number of lines per piece (default: 1000)"
|
---|
19 | .SH EXAMPLES
|
---|
20 | .EX "split \-200 file" "Split \fIfile\fP into pieces of 200 lines each"
|
---|
21 | .EX "split file z" "Split \fIfile\fP into \fIzaa\fP, \fIzab\fP, etc."
|
---|
22 | .SH DESCRIPTION
|
---|
23 | .PP
|
---|
24 | .I Split
|
---|
25 | reads \fIfile\fP and writes it out in \fIn\fP-line pieces.
|
---|
26 | By default, the pieces are called \fIxaa\fP, \fIxab\fP, etc.
|
---|
27 | The optional second argument can be used to provide an alternative
|
---|
28 | prefix for the output file names.
|
---|
29 | .SH "SEE ALSO"
|
---|
30 | .BR cat (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.