Fix pod2man's handling of quotes in =items
Jarkko Hietaniemi [Tue, 4 Feb 1997 20:23:34 +0000 (22:23 +0200)]
private-msgid: <199702042023.WAA13143@alpha.hut.fi>

pod/pod2man.PL

index fdcfa73..095b520 100644 (file)
@@ -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};
        }