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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -