On 09/20/08 14:47, Semih Gokalp wrote:
Hi debian users.I have a problem.
Freeze script and wait console when i try to run below script 40 or
upper times so I press ctrl + c and stopped process.
#!/bin/sh
i=1
j=1
while [ $i -lt 40 ]
do
head -c 60 /dev/random > t$j
sed 's/\e//' t$j > t`expr $j + 1`
sed 's/\Z//' t`expr $j + 1` > key$i
echo $i
i=`expr $i + 1`
j=`expr $j + 2`
done
exit 0
If i run above script 10 or less times,i have no error !!
why can not i run this code 40 or upper times ? I am waiting your idea
and advice.
Maybe you run out of entropy?
--
Ron Johnson, Jr.
Jefferson LA USA
"Do not bite at the bait of pleasure till you know there is no
hook beneath it." -- Thomas Jefferson
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]