3

Help needed with multiplying two values of two columns in a file

view full story
linux-howto

http://www.unix.com – Hi, I am trying to multiply column#1 with column#2 using a shell script. How can I make a for-loop script using 1st column as "i" and the second column as "j" from the following file? Please feel free to share any alternative ways to multiplying column#1 with column#2. HTML Code: .06    5.0000 .49    7.8750 .18    5.0000 .17    1.0000 .64    6.1250 .01    0.1250 .48    4.81250 .01    0.2500 .77    19.5000 Thanks in advance :wall: ---------- Post updated at 0 (HowTos)