Created
February 6, 2017 20:24
-
-
Save bessarabov/8d29d82e7abe14df9fec1f5f3af81c1c to your computer and use it in GitHub Desktop.
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
bessarabov@air:~/tmp/delete_after_2017-02-03/linux$ git log --author="torvalds@ppc970.osdl.org" --author="torvalds@linux-foundation.org" --date=iso | perl -nalE 'if (/^Date:\s+[\d-]{10}\s(\d{2})/) { say $1+0 }' | sort | uniq -c|perl -MList::Util=max -nalE '$h{$F[1]} = $F[0]; }{ $m = max values %h; say $m; foreach (0..23) { $h{$_} = 0 if not exists $h{$_} } foreach (sort {$a <=> $b } keys %h) { say sprintf "%02d - %4d %s", $_, $h{$_}, "*"x ($h{$_} / $m * 50); }'foreach ( | |
2012 | |
00 - 24 | |
01 - 11 | |
02 - 14 | |
03 - 12 | |
04 - 27 | |
05 - 53 * | |
06 - 171 **** | |
07 - 605 *************** | |
08 - 1216 ****************************** | |
09 - 1695 ****************************************** | |
10 - 2012 ************************************************** | |
11 - 1816 ********************************************* | |
12 - 1580 *************************************** | |
13 - 1382 ********************************** | |
14 - 1381 ********************************** | |
15 - 1457 ************************************ | |
16 - 1346 ********************************* | |
17 - 1186 ***************************** | |
18 - 962 *********************** | |
19 - 667 **************** | |
20 - 559 ************* | |
21 - 358 ******** | |
22 - 153 *** | |
23 - 79 * | |
0 9s | |
bessarabov@air:~/tmp/delete_after_2017-02-03/linux$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment