pod2man.pl would only remove the first LF from the name.
authorRichard Levitte <levitte@openssl.org>
Thu, 30 May 2002 15:30:21 +0000 (15:30 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 30 May 2002 15:30:21 +0000 (15:30 +0000)
util/pod2man.pl

index c6b64add602d7977c13b0675edc7b3f6664425c1..657e4e264e07dab613f489fe0601d86daec725ff 100755 (executable)
@@ -416,8 +416,8 @@ if ($name ne 'something') {
                        warn "$0: Improper man page - malformed NAME header in paragraph $. of $ARGV[0]\n"
                    }
                    else {
-                       $n[0] =~ s/\n/ /;
-                       $n[1] =~ s/\n/ /;
+                       $n[0] =~ s/\n/ /g;
+                       $n[1] =~ s/\n/ /g;
                        %namedesc = @n;
                    }
                }