diff options
author | Assaf Gordon <assafgordon@gmail.com> | 2013-02-20 13:31:22 -0500 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-02-28 18:20:30 +0000 |
commit | 374f569579fe4e319d592f4d77ae1ede5566eed6 (patch) | |
tree | b7493c64cf19988dc84aaf1899b1e9c3718896bc /NEWS | |
parent | 8b6d3c5700526f962b12cd5901b55961c5e18186 (diff) | |
download | coreutils-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-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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] |