> 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).