Why can't I assign random values in a loop?
I want to implement the following:
for (( i=1; i<=sim_users; i++))
do
value[$i] = $RANDOM
done
why dosen开发者_如何学Python't this work?
You want
value[$i]=$RANDOM
You can't put a space before or after the equals sign.
精彩评论