Shell script error

Pratt, Benjamin E. bepratt at
Thu Oct 7 07:07:29 PDT 2004

Hello, it's me again.  This time I'm trying to do some shell scripting 
but I'm running into a problem with a randomization script that I found 
on the web.  The script I'm trying to run can be found at:

Everything runs fine on different Linux systems that I've used (Red Hat
Knoppix-STD, PHLAK) but when I run the script on FreeBSD or OpenBSD I
errors.  I'm mainly running FreeBSD 5.3-BETA right now with
installed so that's where I'd really like to get it running.

I did change the first line to point to /usr/local/bin/bash but that 
didn't make any difference.

If anyone knows why this won't run, or if anyone has another example of 
getting a random character (I'd eventually like to generate a random 
hexadecimal character) I'd love to hear from you.



More information about the freebsd-questions mailing list