1SPLIT(1) User Commands SPLIT(1)
2
3
4
6 split - split a file into pieces
7
9 split [OPTION] [INPUT [PREFIX]]
10
12 Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default
13 size is 1000 lines, and default PREFIX is `x'. With no INPUT, or when
14 INPUT is -, read standard input.
15
16 Mandatory arguments to long options are mandatory for short options
17 too.
18
19 -a, --suffix-length=N
20 use suffixes of length N (default 2)
21
22 -b, --bytes=SIZE
23 put SIZE bytes per output file
24
25 -C, --line-bytes=SIZE
26 put at most SIZE bytes of lines per output file
27
28 -d, --numeric-suffixes
29 use numeric suffixes instead of alphabetic
30
31 -l, --lines=NUMBER
32 put NUMBER lines per output file
33
34 --verbose
35 print a diagnostic to standard error just before each output
36 file is opened
37
38 --help display this help and exit
39
40 --version
41 output version information and exit
42
43 SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.
44
46 Written by Torbjorn Granlund and Richard M. Stallman.
47
49 Report bugs to <bug-coreutils@gnu.org>.
50
52 Copyright © 2007 Free Software Foundation, Inc.
53 This is free software. You may redistribute copies of it under the
54 terms of the GNU General Public License
55 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
56 extent permitted by law.
57
59 The full documentation for split is maintained as a Texinfo manual. If
60 the info and split programs are properly installed at your site, the
61 command
62
63 info split
64
65 should give you access to the complete manual.
66
67
68
69GNU coreutils 6.9 March 2008 SPLIT(1)