1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH SPLIT "1" "January 2016" "GNU coreutils 8.25" "User Commands"
4 split \- split a file into pieces
7 [\fI\,OPTION\/\fR]... [\fI\,FILE \/\fR[\fI\,PREFIX\/\fR]]
9 .\" Add any additional description here
11 Output pieces of FILE to PREFIXaa, PREFIXab, ...;
12 default size is 1000 lines, and default PREFIX is 'x'.
14 With no FILE, or when FILE is \-, read standard input.
16 Mandatory arguments to long options are mandatory for short options too.
18 \fB\-a\fR, \fB\-\-suffix\-length\fR=\fI\,N\/\fR
19 generate suffixes of length N (default 2)
21 \fB\-\-additional\-suffix\fR=\fI\,SUFFIX\/\fR
22 append an additional SUFFIX to file names
24 \fB\-b\fR, \fB\-\-bytes\fR=\fI\,SIZE\/\fR
25 put SIZE bytes per output file
27 \fB\-C\fR, \fB\-\-line\-bytes\fR=\fI\,SIZE\/\fR
28 put at most SIZE bytes of records per output file
31 use numeric suffixes starting at 0, not alphabetic
33 \fB\-\-numeric\-suffixes\fR[=\fI\,FROM\/\fR]
34 same as \fB\-d\fR, but allow setting the start value
36 \fB\-e\fR, \fB\-\-elide\-empty\-files\fR
37 do not generate empty output files with '\-n'
39 \fB\-\-filter\fR=\fI\,COMMAND\/\fR
40 write to shell COMMAND; file name is $FILE
42 \fB\-l\fR, \fB\-\-lines\fR=\fI\,NUMBER\/\fR
43 put NUMBER lines/records per output file
45 \fB\-n\fR, \fB\-\-number\fR=\fI\,CHUNKS\/\fR
46 generate CHUNKS output files; see explanation below
48 \fB\-t\fR, \fB\-\-separator\fR=\fI\,SEP\/\fR
49 use SEP instead of newline as the record separator;
50 \&'\e0' (zero) specifies the NUL character
52 \fB\-u\fR, \fB\-\-unbuffered\fR
53 immediately copy input to output with '\-n r/...'
56 print a diagnostic just before each
60 display this help and exit
63 output version information and exit
65 The SIZE argument is an integer and optional unit (example: 10K is 10*1024).
66 Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000).
70 split into N files based on size of input
73 output Kth of N to stdout
76 split into N files without splitting lines/records
79 output Kth of N to stdout without splitting lines/records
82 like 'l' but use round robin distribution
85 likewise but only output Kth of N to stdout
87 Written by Torbjorn Granlund and Richard M. Stallman.
89 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
91 Report split translation bugs to <http://translationproject.org/team/>
93 Copyright \(co 2016 Free Software Foundation, Inc.
94 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
96 This is free software: you are free to change and redistribute it.
97 There is NO WARRANTY, to the extent permitted by law.
99 Full documentation at: <http://www.gnu.org/software/coreutils/split>
101 or available locally via: info \(aq(coreutils) split invocation\(aq