slackbuilds/bin/authors.pl

7 lines
176 B
Perl
Raw Normal View History

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