Instantaneously generation of random numbers
Posted: February 5, 2008 Filed under: bash, geek, scripting Leave a comment »#! /bin/bash
coff=1.2
nnce=765
cent=cl_$coff.centers
seed=`date +'%N'`
awk 'BEGIN{
srand("'$seed'")
print int(rand())
}'