Random number challenge

Jason Hall jayce at lug-nut.com
Thu Jun 12 09:19:53 MDT 2008


On Thu, Jun 12, 2008 at 9:12 AM, Stuart Jansen <sjansen at buscaluz.org> wrote:
> 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. ;-)

/me looks around sheepishly..

But hey, no 4th ed stuff yet.

-- 
Jayce^

The Cloud is my Platform



More information about the PLUG mailing list