Awk: Difference between revisions

From DWIKI
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===Documentation===
===Documentation===
*[http://people.cs.uu.nl/piet/docs/nawk/nawk_23.html An awk manual]
*[http://people.cs.uu.nl/piet/docs/nawk/nawk_23.html An awk manual]
*[storage01.tr Awk]
*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]]

Latest revision as of 10:00, 10 February 2023

Documentation

FAQ

Sum list of numbers

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