diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | src/shuf.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -22,8 +22,8 @@ GNU coreutils NEWS -*- outline -*- it would display an error, requiring --no-dereference to avoid the issue. [bug introduced in coreutils-5.3.0] - shuf -r no longer dumps core if the input is empty. - [bug introduced in coreutils-8.22] + shuf --repeat no longer dumps core if the input is empty. + [bug introduced with the --repeat feature in coreutils-8.22] ** New features diff --git a/src/shuf.c b/src/shuf.c index 2a910728e..6ae075549 100644 --- a/src/shuf.c +++ b/src/shuf.c @@ -581,7 +581,7 @@ main (int argc, char **argv) else { if (n_lines == 0) - error (EXIT_FAILURE, 0, _("No lines to repeat")); + error (EXIT_FAILURE, 0, _("no lines to repeat")); if (input_range) i = write_random_numbers (randint_source, head_lines, lo_input, hi_input, eolbyte); |