Awk: Difference between revisions
From DWIKI
m (→Documentation) |
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
- An awk manual
- [storage01.tr Awk]
- http://www.dmoz.org/Computers/Programming/Languages/Awk/
FAQ
Sum list of numbers
| awk '{sum+=$1} END {print sum}'