projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f022b99
)
Grok three kinds of line endings, should fix [ID 20010612.003]
Jarkko Hietaniemi [Wed, 13 Jun 2001 01:25:12 +0000 (
01:25
+0000)]
p4raw-id: //depot/perl@10550
pod/checkpods.PL
patch
|
blob
|
blame
|
history
diff --git
a/pod/checkpods.PL
b/pod/checkpods.PL
index
92b7ae6
..
692a706
100644
(file)
--- a/
pod/checkpods.PL
+++ b/
pod/checkpods.PL
@@
-64,7
+64,7
@@
print OUT <<'!NO!SUBS!';
$exit = $last_unempty = 0;
while (<>) {
- chomp;
+ s/(\012|\015\012|\015)$//;
if (/^=(\S+)/ && $directive{$1} && $last_unempty) {
printf "%s: line %5d, no blank line preceeding directive =%s\n",
$ARGV, $., $1;