diff options
author | Jim Meyering <meyering@redhat.com> | 2008-07-27 15:14:37 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-07-27 15:25:27 +0200 |
commit | bee58d8a0400b0303c6dce3873fdf3482de0c110 (patch) | |
tree | dbef2d9ac7afe3398a2d2ca070bc891c368a82a4 /NEWS | |
parent | e535754fdbe701e70f3ac9834b643a9272dc1d98 (diff) | |
download | coreutils-bee58d8a0400b0303c6dce3873fdf3482de0c110.tar.xz |
shuf: honor --zero-terminated option even with --input-range=LO-HI
* src/shuf.c (write_permuted_output): Add EOLBYTE parameter and use
it rather than hard-coding "\n".
(main): Adjust sole caller.
* tests/misc/shuf: Add a test to exercise this bug fix.
* NEWS: Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,8 @@ GNU coreutils NEWS -*- outline -*- md5sum now accepts the new option, --quiet, to suppress the printing of 'OK' messages. sha1sum, sha224sum, sha384sum, and sha512sum accept it, too. + shuf honors the --zero-terminated (-z) option, even with --input-range=LO-HI + sort accepts a new option, --files0-from=F, that specifies a file containing a null-separated list of files to sort. This list is used instead of filenames passed on the command-line to avoid problems with |