From: simonpj@microsoft.com Date: Fri, 18 Dec 2009 10:54:03 +0000 (+0000) Subject: Add an extra heading in the output for count_lines X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7e621a8c3a71a10e2d6f1872d5cd57a503ed70fb;p=ghc-hetmet.git Add an extra heading in the output for count_lines --- diff --git a/utils/count_lines/count_lines.lprl b/utils/count_lines/count_lines.lprl index cec3326..50205ee 100644 --- a/utils/count_lines/count_lines.lprl +++ b/utils/count_lines/count_lines.lprl @@ -51,6 +51,7 @@ foreach $f ( @ARGV ) { # print the info $tot = 0; $totcmts = 0; +printf "\n Code Comments\n"; foreach $d (sort (keys %DirCount)) { printf "%-20s %6d %6d\n", $d, $DirCount{$d}, $DirComments{$d}; $tot += $DirCount{$d};