This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bdbec
)
Fix pod2man's handling of quotes in =items
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 4 Feb 1997 20:23:34 +0000
(22:23 +0200)
committer
Chip Salzenberg
<chip@atlantic.net>
Mon, 10 Feb 1997 19:29:00 +0000
(07:29 +1200)
private-msgid: <
199702042023
.WAA13143@alpha.hut.fi>
pod/pod2man.PL
patch
|
blob
|
blame
|
history
diff --git
a/pod/pod2man.PL
b/pod/pod2man.PL
index
fdcfa73
..
095b520
100644
(file)
--- a/
pod/pod2man.PL
+++ b/
pod/pod2man.PL
@@
-829,6
+829,11
@@
while (<>) {
}
elsif ($Cmd eq 'item') {
s/^\*( |$)/\\(bu$1/g;
+ # if you know how to get ":s please do
+ s/\\\*\(L"([^"]+?)\\\*\(R"/'$1'/g;
+ s/\\\*\(L"([^"]+?)""/'$1'/g;
+ s/[^"]""([^"]+?)""[^"]/'$1'/g;
+ # here do something about the $" in perlvar?
print STDOUT qq{.Ip "$_" $indent\n};
print qq{.IX Item "$_"\n};
}