Awk: Difference between revisions

From DWIKI
mNo edit summary
Line 4: Line 4:
*http://www.dmoz.org/Computers/Programming/Languages/Awk/
*http://www.dmoz.org/Computers/Programming/Languages/Awk/


=FAQ=
==Sum list of numbers==
| awk '{sum+=$1} END {print sum}'


[[Category:Scripting]]
[[Category:Scripting]]

Revision as of 13:03, 9 December 2019

Documentation

FAQ

Sum list of numbers

| awk '{sum+=$1} END {print sum}'