split

Name

split -- split a file into pieces

Description

split is as specified in the SUS but with differences as listed below.

Differences

-a suffix_length

has implementation-dependent behavior. [1]

LSB Deprecated Differences

The behaviors specified in this section are expected to disappear from a future version of the LSB; applications should only use the non-LSB-deprecated behaviors.

--bytes=SIZE

is equivalent to -b.

-C, --line-bytes

puts at most SIZE bytes of lines per output file.

--lines

is equivalent to -l.

--verbose

prints a diagnostic to standard error.

--version

outputs version information and exits.

Notes

[1]

Newer versions of split in GNU textutils have support for the -a flag. In a future version of the LSB, the -a flag will be required to conform to the SUS definition.