diff options
author | Russ Cox <[email protected]> | 2009-07-12 18:56:00 -0700 |
---|---|---|
committer | Russ Cox <[email protected]> | 2009-07-12 18:56:00 -0700 |
commit | 4ed996f552cac7fc6e9713355bdd36e303c76b72 (patch) | |
tree | 64b1078f668dc529f8028342b85610f4c047fb84 | |
parent | d42cbd75b2921d881d133016b5e6dc3e85f89f1a (diff) | |
download | xv6-labs-4ed996f552cac7fc6e9713355bdd36e303c76b72.tar.gz xv6-labs-4ed996f552cac7fc6e9713355bdd36e303c76b72.tar.bz2 xv6-labs-4ed996f552cac7fc6e9713355bdd36e303c76b72.zip |
strip //DOC comments during printing
-rwxr-xr-x | runoff1 | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"; |