summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJérémy Compostella <jeremy.compostella@gmail.com>2012-01-29 15:20:31 +0100
committerPádraig Brady <P@draigBrady.com>2012-02-18 02:09:32 +0000
commitd55d3dd5886c146547482c9f45ac653c1ebe9237 (patch)
tree165a83aa229b68e3c29fb292b998e9389624a452 /NEWS
parent557b3b2a359b8d6ed59dd9b61f34043b40f9e036 (diff)
downloadcoreutils-d55d3dd5886c146547482c9f45ac653c1ebe9237.tar.xz
split: support optional start value for --numeric-suffixes
Allow changing the --numeric-suffixes start number from the default of 0. * src/split.c (next_file_name): Initialize the suffix index and the output filename according to start value. (main): Check that the suffix length is large enough for the numerical suffix start value. * doc/coreutils.texi (split invocation): Mention it. * NEWS (New features): Mention it. * tests/split/numeric: New file. Test --numeric-suffixes[=FROM]. * tests/Makefile.am (TESTS): Reference the new test.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 7973b5564..593a1b4f2 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,9 @@ GNU coreutils NEWS -*- outline -*-
dd now accepts the count_bytes, skip_bytes iflags and the seek_bytes
oflag, to more easily allow processing portions of a file.
+ split now accepts an optional "from" argument to --numeric-suffixes,
+ which changes the start number from the default of 0.
+
** Bug fixes
mv now lets you move a symlink onto a same-inode destination file that