GNU bug report logs - #15055
shuf: add --all-permutations option

Previous Next

Package: coreutils;

Reported by: jidanni <at> jidanni.org

Date: Fri, 9 Aug 2013 04:03:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: jidanni <at> jidanni.org
To: 15055 <at> debbugs.gnu.org
Subject: bug#15055: shuf --all-permutations
Date: Fri, 09 Aug 2013 12:01:27 +0800
(info "(coreutils) shuf invocation") says

   These examples all have four input lines, so `shuf' might produce any
   of the twenty-four possible permutations of the input.  In general, if
   there are N input lines, there are N! (i.e., N factorial, or N * (N -
   1) * ... * 1) possible output permutations.

Please add an option to produce all permutations.

Perhaps separated by blank lines or a --separator=...




This bug report was last modified 6 years and 239 days ago.

Previous Next


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