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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -