32v 1m split

From Computer History Wiki
Jump to: navigation, search

SPLIT(1) UNIX Programmer's Manual SPLIT(1)


split - split a file into pieces


split [ -n ] [ file [ name ] ]


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. If no output name is given, x is default.

If no input file is given, or if - is given in its stead, then the standard input file is used.