[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] shuf.c: Permutation With Replacement
From: |
Alexander Horn |
Subject: |
Re: [patch] shuf.c: Permutation With Replacement |
Date: |
Thu, 22 Feb 2007 17:38:55 -0600 |
I have send out an email earlier this week that sketches out changes
to the `shuf' program that would allow for random permutations with
replacement ("--with-replacement" switch).
For example:
shuf <<EOF
clubs
hearts
diamonds
spades
EOF
might output:
clubs
diamonds
spades
diamonds
Please let me know what you think of this feature. If we can add it to
`shuf', I would be happy to clean up the patch.
Thanks,
--
Alexander Horn
http://www2.truman.edu/~ah428