summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJérémy Compostella <jeremy.compostella@gmail.com>2012-02-19 13:52:47 +0100
committerPádraig Brady <P@draigBrady.com>2012-02-20 13:30:26 +0000
commit69fed0dfecef60976e6144ea953493ec3efe517b (patch)
treec3aac97432a0d257cad1405586dad875c5892d6f /doc
parent7f48aa570d93347aa72d86a034e36377db6a22b9 (diff)
downloadcoreutils-69fed0dfecef60976e6144ea953493ec3efe517b.tar.xz
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
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 562444302..cc300a816 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -3090,6 +3090,11 @@ Use suffixes of length @var{length}. The default @var{length} is 2.
Use digits in suffixes rather than lower-case letters. The numerical
suffix counts from @var{from} if specified, 0 otherwise.
+@itemx --additional-suffix=@var{suffix}
+@opindex --additional-suffix
+Append an additional @var{suffix} to output file names. @var{suffix}
+must not contain slash.
+
@item -e
@itemx --elide-empty-files
@opindex -e