Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ split(1) — SunOS 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SPLIT(1)  —  USER COMMANDS

NAME

split − split a file into pieces

SYNOPSIS

split [ −number ] [ infile [ outfile ] ]

DESCRIPTION

Split reads file and writes it in n-line pieces (default 1000) onto a set of output files (as many files as necessary).  The name of the first output file is outfile| with aa appended, the second file is outfileab, and so on lexicographically. 

If no outfile is given, x is used as default (output files will be called xaa, xab, etc.). 

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

OPTIONS

−number Number of lines in each piece. 

Sun Release 2.0  —  Last change: 1 February 1985

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