Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSEP551
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krishna Vinnakota
CSEP551
Commits
4ed996f5
Commit
4ed996f5
authored
15 years ago
by
Russ Cox
Browse files
Options
Downloads
Patches
Plain Diff
strip //DOC comments during printing
parent
d42cbd75
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runoff1
+1
-0
1 addition, 0 deletions
runoff1
with
1 addition
and
0 deletions
runoff1
+
1
−
0
View file @
4ed996f5
...
...
@@ -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
";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment