split(1) DG/UX 4.30 split(1)
NAME
split - split a file into pieces
SYNOPSIS
split [ -n ] [ file [ name ] ]
DESCRIPTION
Split reads file and writes it in n-line pieces (default
1000 lines) onto a set of output files. The name of the
first output file is name with aa appended; the name of the
last is zz (a maximum of 676 files). Name cannot be longer
than 252 characters. If no output name is given, x is the
default.
If no input file is given, or if - is given instead, then
the standard input file is used.
EXAMPLES
$ split -4 longfile longfile
The split command takes the file "longfile" and splits it
into files 4 lines long. The new files will be named
longfileaa, longfileab, and so on to longfilezz, if needed.
If no output name were specified, the names would default to
xaa, xab, and so on.
SEE ALSO
bfs(1), csplit(1).
Licensed material--property of copyright holder(s) Page 1