66 lines
758 B
Plaintext
66 lines
758 B
Plaintext
|
|
|
|
|
|
|
|
|
|
Command: split - split a large file into several smaller files
|
|
Syntax: split [-n] [file [prefix]]
|
|
Flags: -n Number of lines per piece (default: 1000)
|
|
Examples: split -200 file # Split file into pieces of 200
|
|
lines each
|
|
split file z # Split file into zaa, zab, etc.
|
|
|
|
Split reads file and writes it out in n-line pieces. By default,
|
|
the pieces are called xaa, xab, etc. The optional second argument can
|
|
be used to provide an alternative prefix for the output file names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|