SUMMARY: SVR4 Random Number Generator

From: Vo (b5fjrvl@is000895)
Date: Fri Jun 16 1995 - 14:46:28 CDT


Folks,

        Thanks to those who took the time to answer my question, here comes
the summary:

>From Dave Hughes @att and Michael "Crash" Bukva @Fujitsu Australia and Frank G
@lehman:
    The Korn Shell, /bin/ksh, automatically sets a variable called
    $RANDOM which is a random number.

>From Gary Parker @Johnson & Johnson:
    perl -e 'printf("%.",rand(srand(time()))*100)'

>From Peter Allan in UK:
    A book in Numerical Recipies series. Well, This is too much for me
    but thanks anyway.

Many Thanks,

--------------------------------------------------------------------------------
Khanh Vo e-mail: khanh.t.vo@bagate.bell-atl.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:27 CDT