]> git.ipfire.org Git - thirdparty/coreutils.git/commit
split: add the --additional-suffix option
authorJérémy Compostella <jeremy.compostella@gmail.com>
Sun, 19 Feb 2012 12:52:47 +0000 (13:52 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 20 Feb 2012 13:30:26 +0000 (13:30 +0000)
commit69fed0dfecef60976e6144ea953493ec3efe517b
treec3aac97432a0d257cad1405586dad875c5892d6f
parent7f48aa570d93347aa72d86a034e36377db6a22b9
split: add the --additional-suffix option

Add the --additional-suffix option, to append an
additional static suffix to output file names.

* src/split.c (next_file_name): Append suffix to output file names.
(main): Handle new --additional-suffix option.
* NEWS (New features): Mention it.
* doc/coreutils.texi (split invocation): Mention it.
* tests/split/additional-suffix: New file. Test --additional-suffix.
* tests/Makefile.am (TESTS): Add it.
Requested by Peng Yu, in bug 6554
NEWS
doc/coreutils.texi
src/split.c
tests/Makefile.am
tests/split/additional-suffix [new file with mode: 0755]