From bee58d8a0400b0303c6dce3873fdf3482de0c110 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 27 Jul 2008 15:14:37 +0200 Subject: 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. --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 8753fcfc6..3be1ad467 100644 --- a/NEWS +++ b/NEWS @@ -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 -- cgit v1.2.3-54-g00ecf