commit 4ed996f552cac7fc6e9713355bdd36e303c76b72 parent d42cbd75b2921d881d133016b5e6dc3e85f89f1a Author: Russ Cox <rsc@swtch.com> Date: Sun, 12 Jul 2009 18:56:00 -0700 strip //DOC comments during printing Diffstat:
M | runoff1 | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/runoff1 b/runoff1 @@ -19,6 +19,7 @@ $linenum = 0; foreach (@lines) { $linenum++; chomp; + s!//DOC.*!!; s/\s+$//; if(length() >= 75){ print STDERR "$file:$linenum: line too long\n";