First page Back Continue Last page Overview Graphics

8b. awk (with sums)

me@banshee:~$ cat file

1.1 2.2 3.3 4.4 1.1 2.2 3.3 4.4 1.1 2.2 3.3 4.4 1.1 2.2 3.3 4.4 me@banshee:~$ cat file | awk ‘{mysum += $3} END {print mysum}’ 13.2