cvs commit: src/usr.bin/jot jot.1 jot.c

Tom Rhodes trhodes at FreeBSD.org
Mon Nov 6 14:16:42 UTC 2006


On Mon, 6 Nov 2006 13:55:11 +0000 (UTC)
Diomidis Spinellis <dds at FreeBSD.org> wrote:

> dds         2006-11-06 13:55:11 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.bin/jot          jot.1 jot.c 
>   Log:
>   Do What I Mean when the user asks for random integers or characters.
>   Up to now jot would fail to generate the last character in the range
>   or skew the integer distribution in a way that would generate the numbers
>   in the range's limits with half the probability of the rest.
>   
>   This modification fixes the program, rather than documenting the
>   strange behavior, as suggested in docs/54879.
>   
>   Also, correctly specify the range of random(3).

Thanks!

-- 
Tom Rhodes


More information about the cvs-src mailing list