SPLIT(1) — UNIX Programmer’s Manual
NAME
split, csplit − split a file into pieces
SYNOPSIS
split [ −n ] [ file [ name ] ]
csplit [ −n ] [ file [ name ] ]
DESCRIPTION
Split reads file 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. The argument name cannot be longer than {NAME_MAX}-2 characters. If no output name is given, x is default.
If no input file is given, or if − is given instead, then the standard input file is used.
Csplit is identical to split, except that it reads file and writes it in n-character pieces.
7th Edition — Revision 1.4 of 12/10/90