Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] random in bash [Kmail Notification]



On Fri, Mar 08, 2002 at 08:59:06AM +0900, Antony Stace wrote:

>        RANDOM Each  time  this  parameter is referenced, a random
>               integer between 0  and  32767  is  generated.   The

Interesting. I never knew that either. I think the info is slightly
out-of-date, though:

bash-2.03$ echo $RANDOM
1771412549
bash-2.03$ echo $RANDOM
958590673
bash-2.03$ echo $RANDOM
1835110903
bash-2.03$ echo $RANDOM
1322192420
bash-2.03$ echo $RANDOM
601159267

... a bit more than 32767, ne?
-- 
Matt Gushee
Englewood, Colorado, USA
mgushee@example.com
http://www.havenrock.com/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links