I'm trying to generate a random number between 10,000 and 60,000.
I've figured that with Oxygen and Dachstein I can gather random 
bytes using dd:

  dd if=/dev/random of=/tmp/rbytes bs=1 count=1

So the file /tmp/rbytes has a string of 4 random characters.
Um, how do I covert those from ascii to integer?  I tried printf.

Thanks,
Matthew

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to