SPLIT(1) | General Commands Manual | SPLIT(1) |
split
— split a
file into chunks
split |
[-b size |
-l lines]
[-a suffix_length]
[file] [name] |
split
reads file or
if unspecified standard input, and splits it's content into files containing
at most size or lines. Each
split file name is made with name followed by a
base-26 (a-z) suffix of exactly suffix_length
characters. By default, the first split suffix is "aa", then the
second is "ab", and so on.
-a
suffix_lengthNAME_MAX
.-b
size-l
linesx
’.
NAME_MAX
.The split
utility exits 0 on
success, and >0 if an error occurs.
split
should be compliant with the IEEE
Std 1003.1-2024 (“POSIX.1”) specification.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
2024-08-16 | Linux 6.6.67-gentoo-x86_64 |