skip to main
|
skip to sidebar
tech.david
Monday, June 7, 2010
Hack for generating a random number in a script without $RANDOM
let "rand = 0x`dd if=/dev/urandom bs=4 count=1 2> /dev/null| md5sum | sed 's/................ .*//'`"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2012
(1)
►
August
(1)
▼
2010
(5)
►
October
(1)
►
July
(1)
▼
June
(2)
One-jar
Hack for generating a random number in a script wi...
►
May
(1)
►
2009
(4)
►
November
(1)
►
September
(1)
►
July
(1)
►
May
(1)
►
2008
(4)
►
October
(1)
►
September
(2)
►
August
(1)
About Me
David
View my complete profile
No comments:
Post a Comment