Revision: d5e9ef229431
Author: Muneyuki Noguchi <[email protected]>
Date: Sat Mar 17 08:10:31 2012
Log: Add support for arbitrary names to gnuify-changelog.pl.
* tools/gnuify-changelog.pl
- Add support for names which aren't in %hackers.
http://code.google.com/p/uim/source/detail?r=d5e9ef229431
Modified:
/tools/gnuify-changelog.pl
=======================================
--- /tools/gnuify-changelog.pl Sat Feb 25 22:18:09 2012
+++ /tools/gnuify-changelog.pl Sat Mar 17 08:10:31 2012
@@ -63,14 +63,16 @@
s/\r\n$/\n/;
if (/^Author/) {
+ chomp;
$author = (split / /)[1];
+ $author = exists($hackers{$author}) ? $hackers{$author} : (split /:
/)[1];
next;
}
if (/^Date/) {
chomp;
my $date = (split / +/)[1];
- print $date . ' ' . $hackers{$author} . "\n";
+ print $date . ' ' . $author . "\n";
next;
}
print;