Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!europa.asd.contel.com!wlbr!voder!berlioz.nsc.com!nelson From: nelson@berlioz.nsc.com (Taed Nelson) Newsgroups: comp.unix.questions Subject: Re: random numbers in awk? Message-ID: <1991Apr24.173502.9731@berlioz.nsc.com> Date: 24 Apr 91 17:35:02 GMT References: <26019@adm.brl.mil> <1991Apr24.041134.14519@athena.mit.edu> Sender: news@berlioz.nsc.com Organization: PLD Software Group, National Semiconductor Co., Santa Clara, CA. Lines: 6 > 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).