summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2007-05-13 11:02:43 +0200
committerJim Meyering <jim@meyering.net>2007-05-13 11:02:43 +0200
commite06252480ac023b8c5f03ee1a8ab43d386fefd46 (patch)
treeb1b30dbb3a8f0b20e75548af3972fc141e6f56b6 /NEWS
parentcdd66362dc88370c1372f76a5573cb486d1c23c9 (diff)
downloadcoreutils-e06252480ac023b8c5f03ee1a8ab43d386fefd46.tar.xz
Add -z option to uniq. Originally proposed by Egmont Koblinger.
* NEWS: Mention uniq's new option: --zero-terminated (-z). * src/uniq.c: Add new option, --zero-terminated (-z), to make uniq use the NUL byte as separator/delimiter rather than newline. (check_file): Add a parameter: delimiter. Update caller. Use readlinebuffer_delim in place of readlinebuffer everywhere. (main): Handle the new option. (usage): Describe new option the same way sort does. * doc/coreutils.texi (uniq invocation): Describe the new option.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ea3aafb35..2a2310892 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,10 @@ GNU coreutils NEWS -*- outline -*-
Add SELinux support (FIXME: add details here)
+ uniq accepts a new option: --zero-terminated (-z). As with the sort
+ option of the same name, this makes uniq consume and produce
+ NUL-terminated lines rather than newline-terminated lines.
+
** Bug fixes
ls -x DIR would sometimes output the wrong string in place of the