|
|
1.1 root 1: .\" Copyright (c) 1990 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)split.1 6.3 (Berkeley) 6/24/90
6: .\"
7: .TH SPLIT 1 "%Q"
8: .AT 3
9: .SH NAME
10: split \- split a file into pieces
11: .SH SYNOPSIS
12: \fBsplit\fP [ -\fBn\fP ] [ -\fBb\fP byte_cnt ] [ file [ name ] ]
13: .SH DESCRIPTION
14: \fISplit\fP reads \fIfile\fP and writes it in
15: .IR n -line
16: pieces or in \fIbyte_cnt\fP byte pieces to a set of output
17: files. The default is in 1000 line pieces. The name of the
18: first output file is \fIname\fP with "aa" appended, and so
19: on, lexicographically, to "zz". If no output name is given,
20: "x" is the default, in which case \fIsplit\fP will create
21: files from "xaa" to "zzz".
22: .PP
23: If no input file is given, or if \fB-\fP is given in its stead, then
24: the standard input file is used.
25: .SH BUGS
26: If you provide \fIname\fP, \fIsplit\fP can only create 676 separate
27: files. The default naming convention allows 2028 separate files.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.