summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJérémy Compostella <jeremy.compostella@gmail.com>2012-03-04 20:00:36 +0100
committerPádraig Brady <P@draigBrady.com>2012-03-07 12:59:00 +0000
commita3eb71a98fd195e52d335fb8d6bdc2a719cc2c88 (patch)
tree9e1d64ff718175b75422d71037adcb89cc86b9eb /NEWS
parent4b4a465798a212925670cc4fef7610678d221d69 (diff)
downloadcoreutils-a3eb71a98fd195e52d335fb8d6bdc2a719cc2c88.tar.xz
basename: support more than one argument
* src/basename.c (perform_basename): New function refactored from main() that performs the basename work on a STRING, optionally removes a trailing SUFFIX and outputs the result. (main): Handle new options. * doc/coreutils.texi (basename invocation): Mention new options. * test/misc/basename: Add new options test cases. * NEWS (New features): Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 800666985..04c911fbd 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,10 @@ GNU coreutils NEWS -*- outline -*-
split now accepts the --additional-suffix option, to append an
additional static suffix to output file names.
+ basename now supports the -a and -s options, which allow processing
+ of more than one argument at a time. Also the complementary
+ -z option was added to delimit output items with the NUL character.
+
** Bug fixes
mv now lets you move a symlink onto a same-inode destination file that