Last active
January 11, 2016 06:12
-
-
Save ninadsp/35490fc3ad8a6a5bbad3 to your computer and use it in GitHub Desktop.
awk_sum_test.sh
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
echo '1 | |
2 | |
3 | |
4 | |
5' | awk '{sum += $0} END {print sum}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Done, works, thanks! Can I dogetip on GH?