Split infile into equal-sized segments. infile remains unchanged, and the results are written to prefix aa, prefix ab, and so on. The default prefix is x, giving the output files xaa, xab, etc. If infile is - or missing, standard input is read. See also csplit.
Split infile into n new files.
Use suffixes of length n (default is 2).
Split infile into n-byte segments. Alternate blocksizes may be specified:
Put a maximum of bytes into file; insist on adding complete lines.
Split infile into n-line segments (default is 1000).
Print a help message and then exit.
Print a message for each output file.
Print version information and then exit.
Take input from the standard input.
Break bigfile into 1000-line segments:
Join four files, then split them into 10-line files named new.aa, new.ab, and so on. Note that without the -, new. would be treated as a nonexistent input file:
cat list[1-4] | split -10 - new.