slackbuilds/bin/authors.pl

7 lines
176 B
Perl
Raw Normal View History

2010-08-29 17:42:45 +02:00
#!/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