SPLIT(1) COMMAND REFERENCE SPLIT(1)
NAME
split - split a file into pieces
SYNOPSIS
split [ -n ] [ filename [ name ] ]
DESCRIPTION
Split reads filename and writes it in n-line pieces (default
1000), as many as necessary, onto a set of output files. The
name of the first output file is name with aa appended, and
so on lexicographically. If no output name is given, x is
default.
If no input file is given, or if - (a dash) is given
instead, then the standard input file is used.
OPTIONS
-n The file is split into n-line pieces. The default size is
1000 lines.
EXAMPLES
The following example will split the file text into 500 line
pieces starting with filename xaa:
split -500 text
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
CAVEATS
The maximum number of files that may be created with the aa
- xx appendix is 26 X 26 = 676. An error message is printed
if an attempt is made to create more than this.
SEE ALSO
csplit(1).
Printed 4/6/89 1
%%index%%
na:264,84;
sy:348,216;
de:564,625;
op:1189,179;
ex:1368,237;
rv:1605,555;
ca:2160,271;
se:2431,115;
%%index%%000000000133