Skip to content

Instantly share code, notes, and snippets.

@marked
Created November 20, 2019 06:15
Show Gist options
  • Save marked/3c7dc6690f80acc18c0ad4590f5b89bd to your computer and use it in GitHub Desktop.
Save marked/3c7dc6690f80acc18c0ad4590f5b89bd to your computer and use it in GitHub Desktop.
# grep -c 1/10 *.log | cut -d':' -f2 | ~/bin/sum
114195
# grep -c 2/10 *.log | cut -d':' -f2 | ~/bin/sum
32260
# grep -c 3/10 *.log | cut -d':' -f2 | ~/bin/sum
11634
# grep -c 4/10 *.log | cut -d':' -f2 | ~/bin/sum
5068
# grep -c 5/10 *.log | cut -d':' -f2 | ~/bin/sum
2701
# grep -c 6/10 *.log | cut -d':' -f2 | ~/bin/sum
1770
# grep -c 7/10 *.log | cut -d':' -f2 | ~/bin/sum
1331
# grep -c 8/10 *.log | cut -d':' -f2 | ~/bin/sum
1121
# grep -c 9/10 *.log | cut -d':' -f2 | ~/bin/sum
1004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment