How do i multiply 2 array index variables given the following
foo=(1 2) bar=(0.1 0.2) foobar=$((foo*price)) # this is wrong echo "$foobar"
Current output :
Correct/Expected output :
closed as off-topic by roadmr, dobey, Aditya, Radu Rădeanu, falconer Jan 10 '14 at 16:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
Aside from the typo (you have used