> On Mon, 22 Dec 2014, Ted Unangst wrote:
>
> > I would like to generate a permutation of some lines. We have random,
> > which is vageuly similar. This adds a -p option to instead permute
> > instead of randomly select.
>
> > + for (j = numlines; j > 1; j--) {
> > + size_t s = arc4ra
On Mon, 22 Dec 2014, Ted Unangst wrote:
> I would like to generate a permutation of some lines. We have random,
> which is vageuly similar. This adds a -p option to instead permute
> instead of randomly select.
> + for (j = numlines; j > 1; j--) {
> + size_t s = arc4random_uniform
I would like to generate a permutation of some lines. We have random,
which is vageuly similar. This adds a -p option to instead permute
instead of randomly select.
Index: random.6
===
RCS file: /cvs/src/games/random/random.6,v
retrie