Philippe Meunier wrote:
> jot -r 100000 1 3 | sort -n | uniq -c
> 
> which the man page clearly indicates should produce something like:
> 
> 24950 1
> 50038 2
> 25012 3
>                       
> which is also more in line with the "generate random floating point
> number and truncate to even" model which is described (not very
> clearly, IMHO) in the man page.

That's an artifact of implementation and the fact that the code was written in
a particular way 900 years ago. As a user, 'jot -r 1 1 6' looks like it should
give me a fair roll. I should not have to scavenge around in the man page
to find out jot uses loaded dice.

Reply via email to