.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35. .TH SPLIT "1" "September 2011" "GNU coreutils 8.12.197-032bb" "User Commands" .SH NAME split \- split a file into pieces .SH SYNOPSIS .B split [\fIOPTION\fR]... [\fIINPUT \fR[\fIPREFIX\fR]] .SH DESCRIPTION .\" Add any additional description here .PP Output fixed\-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is `x'. With no INPUT, or when INPUT is \-, read standard input. .PP Mandatory arguments to long options are mandatory for short options too. .TP \fB\-a\fR, \fB\-\-suffix\-length\fR=\fIN\fR use suffixes of length N (default 2) .TP \fB\-b\fR, \fB\-\-bytes\fR=\fISIZE\fR put SIZE bytes per output file .TP \fB\-C\fR, \fB\-\-line\-bytes\fR=\fISIZE\fR put at most SIZE bytes of lines per output file .TP \fB\-d\fR, \fB\-\-numeric\-suffixes\fR use numeric suffixes instead of alphabetic .TP \fB\-e\fR, \fB\-\-elide\-empty\-files\fR do not generate empty output files with `\-n' .TP \fB\-\-filter\fR=\fICOMMAND\fR write to shell COMMAND; file name is $FILE .TP \fB\-l\fR, \fB\-\-lines\fR=\fINUMBER\fR put NUMBER lines per output file .TP \fB\-n\fR, \fB\-\-number\fR=\fICHUNKS\fR generate CHUNKS output files. See below .TP \fB\-u\fR, \fB\-\-unbuffered\fR immediately copy input to output with `\-n r/...' .TP \fB\-\-verbose\fR print a diagnostic just before each output file is opened .TP \fB\-\-help\fR display this help and exit .TP \fB\-\-version\fR output version information and exit .PP SIZE may be (or may be an integer optionally followed by) one of following: KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y. .PP CHUNKS may be: N split into N files based on size of input K/N output Kth of N to stdout l/N split into N files without splitting lines l/K/N output Kth of N to stdout without splitting lines r/N like `l' but use round robin distribution r/K/N likewise but only output Kth of N to stdout .SH AUTHOR Written by Torbjorn Granlund and Richard M. Stallman. .SH "REPORTING BUGS" Report split bugs to bug\-coreutils@gnu.org .br GNU coreutils home page: .br General help using GNU software: .br Report split translation bugs to .SH COPYRIGHT Copyright \(co 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B split is maintained as a Texinfo manual. If the .B info and .B split programs are properly installed at your site, the command .IP .B info coreutils \(aqsplit invocation\(aq .PP should give you access to the complete manual.