On Thu, 2008-06-12 at 09:08 -0600, Stuart Jansen wrote:
> #!/bin/bash
> CEILING=20
> echo $[ $(od -t u4 /dev/random -N 4 -A n) % $CEILING + 1 ]

Or, someone could just admit to having a d20 in their computer bag. ;-)


/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to