Created
March 19, 2014 18:04
-
-
Save caseyw/9647650 to your computer and use it in GitHub Desktop.
print total of numbers found, can pipe into
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '{ sum += $1 } END { print sum }' file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment