diff options
author | James Youngman <jay@gnu.org> | 2007-05-13 11:02:43 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-05-13 11:02:43 +0200 |
commit | e06252480ac023b8c5f03ee1a8ab43d386fefd46 (patch) | |
tree | b1b30dbb3a8f0b20e75548af3972fc141e6f56b6 /NEWS | |
parent | cdd66362dc88370c1372f76a5573cb486d1c23c9 (diff) | |
download | coreutils-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-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |