projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
57cf387
)
Add an extra heading in the output for count_lines
author
simonpj@microsoft.com
<unknown>
Fri, 18 Dec 2009 10:54:03 +0000
(10:54 +0000)
committer
simonpj@microsoft.com
<unknown>
Fri, 18 Dec 2009 10:54:03 +0000
(10:54 +0000)
utils/count_lines/count_lines.lprl
patch
|
blob
|
history
diff --git
a/utils/count_lines/count_lines.lprl
b/utils/count_lines/count_lines.lprl
index
cec3326
..
50205ee
100644
(file)
--- 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};