GNU bug report logs - #61267
shuf -i with negative numbers

Previous Next

Package: coreutils;

Reported by: <kpm <at> plan9.lol>

Date: Sat, 4 Feb 2023 07:46:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: <kpm <at> plan9.lol>
To: 61267 <at> debbugs.gnu.org
Subject: bug#61267: shuf -i with negative numbers
Date: Fri, 03 Feb 2023 23:31:06 +0100
hello

shuf -i option cannot handle negative numbers.
examples:
  $ shuf -i -10-20
  $ shuf -i 0--20

don't know if it's a bug or a feature.

:^)
~ kpm




This bug report was last modified 2 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.