Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

split(1)

Name

split − split file into smaller files

Syntax

split [−n] [file [name]]

Description

The split command 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. 

Options

−Uses standard input. 

−nWrites specified number of lines to each output file.  Default is 1000. 

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