random numbers in awk?

Taed Nelson nelson at berlioz.nsc.com
Thu Apr 25 03:35:02 AEST 1991


>  The standard awk has no built-in way of getting a random number.
>
>  However, the FSF version of awk, gawk, has a built-in rand() function that

The current version (1986) of AWK has rand() as well.  On the SunOS, it has
been renamed to be NAWK (New AWK).



More information about the Comp.unix.questions mailing list