summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2013-02-20 13:31:22 -0500
committerPádraig Brady <P@draigBrady.com>2013-02-28 18:20:30 +0000
commit374f569579fe4e319d592f4d77ae1ede5566eed6 (patch)
treeb7493c64cf19988dc84aaf1899b1e9c3718896bc /NEWS
parent8b6d3c5700526f962b12cd5901b55961c5e18186 (diff)
downloadcoreutils-374f569579fe4e319d592f4d77ae1ede5566eed6.tar.xz
uniq: add the --group option
* src/uniq.c (usage): Summarize the new option, and adjust the --all-repeated option to be more consistent. (check_file): Merge the --group functionality into the core loop for the default uniq operation since it's very similar and can output lines immediately upon reading. (main): Handle the new --group option and make it mutually exclusive with other selection options. * tests/misc/uniq.pl: Add tests. * NEWS: Mention the new feature. * doc/coreutils.texi (uniq invocation): Describe --group.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8785bb333..5b28c921f 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,9 @@ GNU coreutils NEWS -*- outline -*-
option of the same name, this makes join consume and produce NUL-terminated
lines rather than newline-terminated lines.
+ uniq accepts a new option: --group to print all items, while separating
+ unique groups with empty lines.
+
* Noteworthy changes in release 8.21 (2013-02-14) [stable]