[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] shuf.c: Permutation With Replacement
From: |
Jim Meyering |
Subject: |
Re: [patch] shuf.c: Permutation With Replacement |
Date: |
Fri, 23 Feb 2007 08:59:47 +0100 |
"Alexander Horn" <address@hidden> wrote:
> 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 for the suggestion.
I'll let Paul reply, since he wrote that program.