bash - Why can't I assign random values in a loop? -


i want implement following:

for (( i=1; i<=sim_users; i++))    value[$i] = $random done 

why dosen't work?

you want

value[$i]=$random 

you can't put space before or after equals sign.


Comments

Popular posts from this blog

iphone - Request for member 'uitextfield' in something not a structure or union? -

Cursor error with postgresql, pgpool and php -

c++ - error: use of deleted function -