random numbers in awk?

Guy Harris guy at auspex.auspex.com
Sat Apr 27 04:25:51 AEST 1991


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

SunOS didn't rename it; that name came from System V Release 3.1, which
offers the "old AWK" as "awk" and "oawk", and the "new AWK" as "nawk". 
The theory was, I guess, that people with scripts that depended on the
"old AWK" should change them to use "oawk", so that in the future "awk"
could become the "new AWK".  However, according to the S5R4
documentation, "awk" is still the old AWK....



More information about the Comp.unix.questions mailing list