Web bandwidth determination with awk
cat access_log | awk '{sum += $10} END {print int(sum/1024/1024),"MB"}' zcat access_log.something.gz | awk '{sum += $10} END {print int(sum/1024/1024),"MB"}'
TextSnippets > jason2 > awk
1799 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Jason Hoffman http://textdrive.com/
cat access_log | awk '{sum += $10} END {print int(sum/1024/1024),"MB"}' zcat access_log.something.gz | awk '{sum += $10} END {print int(sum/1024/1024),"MB"}'