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.
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
Post a Comment