Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bfs(1)

csplit(1)

SPLIT(1)  —  Silicon Graphics

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, and so on lexicographically, up to zz (a maximum of 676 files).  Name cannot be longer than 12 characters.  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. 

EXAMPLE

split -100 filea newfile

would split "filea" into 100-line pieces and put them in "newfileaa", "newfilebb", and so forth until the end of filea. 

SEE ALSO

bfs(1), csplit(1). 

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026