GNU bug report logs -
#15055
shuf: add --all-permutations option
Previous Next
Full log
View this message in rfc822 format
(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.