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
bash-2.03$ echo $RANDOM
bash-2.03$ echo $RANDOM
bash-2.03$ echo $RANDOM
bash-2.03$ echo $RANDOM

... a bit more than 32767, ne?
Matt Gushee
Englewood, Colorado, USA

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links