split: support an arbitrary number of split files by default
commit7480e2db2935663b9c0c4d66418ce2801005792d
authorJérémy Compostella <jeremy.compostella@gmail.com>
Thu, 1 Mar 2012 19:37:41 +0000 (1 20:37 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 10 Mar 2012 19:36:13 +0000 (10 19:36 +0000)
tree985c1f7989746dbc0ad21ef8b1cee876747f6f39
parent94c21417fe88d5e8944da5c686b381b2e9e9a028
split: support an arbitrary number of split files by default

* src/split.c (next_file_name): If `suffix_auto' is true and the first
suffix character is 'z', generate a new file file name adding `z' to
the prefix and increasing the suffix length by one.
(set_suffix_length): Disable auto suffix width in various cases.
* tests/split/suffix-auto-length: Test it.
* doc/coreutils.texi (split invocation): Mention it.
* NEWS (Improvements): Likewise.
NEWS
doc/coreutils.texi
src/split.c
tests/Makefile.am
tests/split/suffix-auto-length [new file with mode: 0755]