From e06252480ac023b8c5f03ee1a8ab43d386fefd46 Mon Sep 17 00:00:00 2001 From: James Youngman Date: Sun, 13 May 2007 11:02:43 +0200 Subject: 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. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') 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 -- cgit v1.2.3-54-g00ecf