Created
August 29, 2014 16:11
-
-
Save sangheestyle/87670fc82725481a7fe5 to your computer and use it in GitHub Desktop.
print with percent
This file contains hidden or 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
$ git log --grep="fix" --no-merges --format="%ae" | awk '{a[$0]++} END{for (i in a) if (a[i]>1) printf "%5.2f%%\t%s\n", 100*a[i]/NR, i}'| sort -nr | |
50.00% [email protected] | |
21.43% [email protected] | |
14.29% [email protected] | |
7.14% [email protected] | |
$ git log --no-merges --format="%ae" | awk '{a[$0]++} END{for (i in a) if (a[i]>1) printf "%5.2f%%\t%s\n", 100*a[i]/NR, i}'| sort -nr | |
40.78% [email protected] | |
22.57% [email protected] | |
6.53% [email protected] | |
2.52% [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment