On Fri, Oct 10, 2014 at 11:18:45PM +0000, Pedro F. Giffuni wrote:
> Author: pfg
> Date: Fri Oct 10 23:18:44 2014
> New Revision: 272918
> URL: https://svnweb.freebsd.org/changeset/base/272918
> 
> Log:
>   MFC r271879:
>   awk: Use random(3) instead of rand(3)
>   
>   While none of them is considered even near to cryptographic
>   level, random(3) is a better random generator than rand(3).
>   
>   Use random(3) for awk as is done in other systems.
>   
>   PR:         193147
> 
> Modified:
>   stable/10/contrib/one-true-awk/awk.1
>   stable/10/contrib/one-true-awk/main.c
>   stable/10/contrib/one-true-awk/run.c
> Directory Properties:
>   stable/10/   (props changed)
> 
> Modified: stable/10/contrib/one-true-awk/awk.1
> ==============================================================================
> --- stable/10/contrib/one-true-awk/awk.1      Fri Oct 10 22:18:09 2014        
> (r272917)
> +++ stable/10/contrib/one-true-awk/awk.1      Fri Oct 10 23:18:44 2014        
> (r272918)
> @@ -208,7 +208,7 @@ or of
>  if no argument.
>  .TP
>  .B rand
> -random number on (0,1)
> +random number on [0,1)
--------------------^

The above looks like a typo

Bapt

Attachment: pgpY6DOfShPbi.pgp
Description: PGP signature

Reply via email to