Advertisement
Nattack

Untitled

Feb 4th, 2018
1,869
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Awk 0.13 KB | None | 0 0
  1. #!/usr/bin/awk -f
  2.  
  3. {
  4.     sumRecord = 0;
  5.     for (i = 1; i <= NF; i++)
  6.         sumRecord+=$i
  7.     printf "%.2f\n", sumRecord
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement