@@ -0,0 +1,524 @@
+#!/usr/bin/env python%0A%0A%22%22%22%0AUsage:%0A    git log --author='Noel' --stat %7C ./popular_git_files.py%0A%22%22%22%0A%0Aimport collections%0Aimport operator%0Aimport re%0Aimport sys%0A%0A%0Afiles = collections.defaultdict(lambda: 0)%0Afor line in sys.stdin.readlines():%0A    match = re.search('(%5CS+) +%5C%7C +(%5Cd+)', line)%0A    if match and len(match.groups()) == 2:%0A        g0, g1 = match.groups()%0A        g0 = g0%5Bg0.rfind('/') + 1:%5D%0A        files%5Bg0%5D = files%5Bg0%5D + int(g1)%0A%0Afor el in sorted(files.items(), key=operator.itemgetter(1), reverse=True):%0A    print(el)%0A

Fix typo