0
I have afile containing 2 colums I want to minus 2 colums and then dividing the output on 16000 and put the result in anew file
1 ответ
0
~/temp$ cat testfile
53000 5
20000 1
71230 2
83431 4
12561 5
~/temp$ awk '{ $3=($1-$2)/16000; print $3}' testfile
3.31219
1.24994
4.45175
5.21419
0.78475
~/temp$