Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
$RANDOM ?
- X-seq: zsh-users 12434
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: $RANDOM ?
- Date: Wed, 16 Jan 2008 22:49:12 +1300 (NZDT)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
from the man page:
The values of RANDOM form an intentionally-repeatable pseudo-random
sequence; subshells that reference RANDOM will result in identical
pseudo-random values unless the value of RANDOM is referenced or seeded in
the parent shell in between subshell invocations.
i'm curious about the "intentionally-repeatable" sequence. where would i
find out more?
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"The nationalist not only does not disapprove of
atrocities committed by his own side, but he has a
remarkable capacity for not even hearing about them."
-- George Orwell
Messages sorted by:
Reverse Date,
Date,
Thread,
Author