projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 4_2 development
[unix-history]
/
usr
/
man
/
man1
/
split.1
.TH SPLIT 1 "18 January 1983"
.SH NAME
split \- split a file into pieces
.SH SYNOPSIS
.B split
[
.B \-\fIn
]
[ file [ name ] ]
.SH DESCRIPTION
.I Split
reads
.I file
and writes
it in
.IR n -line
pieces
(default 1000), as many as necessary,
onto
a set of output files. The name of the first output
file is
.I name
with
.B aa
appended, and so on
lexicographically.
If no output name is given,
.B x
is default.
.PP
If no input file is given, or
if
.B \-
is given in its stead,
then the standard input file is used.