I have a column of numbers in my text file that looks like this:
10 1 -0.93
11 1 -0.93
12 1 -0.93
13 1 -0.93
...
(The first column of numbers is not the line number.)
I would like to replace the last column of numbers by multiplying each one by 0.1, 0.2, 0.3, etc. such that the result is
10 1 -0.093
11 1 -0.186
12 1 -0.279
13 1 -0.372
...
I know I can do math using the = register (is that the right terminology?), but I can't seem to figure out how to automate this. Please advise.