I'm not sure if this qualifies as "utilities" or "scripting."  You did invite 
submissions from the USS community.  And, in that community, those concepts can 
get mixed.  At any rate, here is my effort using USS

od -d /dev/urandom 2>/dev/null | head -8000 | cut -d" " -f2- | sed "s/ *//g" | 
cut -c1-4

That gives me 8000 random 4 digit numbers.  It doesn't quite hit the mark on 
two counts.  First, I do get a lot of duplicates.  And second, I get numbers up 
to 9999.  Solving either of those problems would definitely require shell 
scripting.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to