Skip to content

Instantly share code, notes, and snippets.

@caseyw
Created March 19, 2014 18:04
Show Gist options
  • Save caseyw/9647650 to your computer and use it in GitHub Desktop.
Save caseyw/9647650 to your computer and use it in GitHub Desktop.
print total of numbers found, can pipe into
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