slackbuilds/bin/authors.pl
2010-06-09 21:53:50 +01:00

6 lines
176 B
Perl
Executable file

#!/usr/bin/env perl
# :-)
/(\d{4}).*?_(.+)/&&\$a{$2}->{$1}for`git log --pretty=format:%aD_%an`;
print"Copyright (C) ".join(", ",sort keys %{$a{$_}})." $_.\n"for sort keys %a