Doh, chomp does not trim WS ...
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/60af5005 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/60af5005 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/60af5005 Branch: refs/heads/6.1.x Commit: 60af5005dade0143692459ff95cee1c7c08418d4 Parents: e414992 Author: Leif Hedstrom <[email protected]> Authored: Mon Dec 21 15:20:12 2015 -0700 Committer: Leif Hedstrom <[email protected]> Committed: Mon Dec 21 15:23:48 2015 -0700 ---------------------------------------------------------------------- tools/changelog.pl | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/60af5005/tools/changelog.pl ---------------------------------------------------------------------- diff --git a/tools/changelog.pl b/tools/changelog.pl index 2ead340..8ac7fc9 100755 --- a/tools/changelog.pl +++ b/tools/changelog.pl @@ -97,6 +97,7 @@ foreach my $key (sort keys %{ $changelog }) foreach my $issue (@{ $changelog->{$key} }) { chomp $issue->{summary}; + $issue->{summary} =~ s/\s+$//; # Trim trailing whitespace print " *) [$issue->{key}] "; if (length($issue->{summary}) <= (131 - 15)) { print "$issue->{summary}\n";
