From fac683684bc568bd03466d9e99b3787d13cedf0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Thu, 8 Mar 2001 21:53:01 +0000 Subject: [PATCH] Avoid problems with multi-line NAME sections. --- util/pod2man.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/pod2man.pl b/util/pod2man.pl index f5ec0767ed..c6b64add60 100755 --- a/util/pod2man.pl +++ b/util/pod2man.pl @@ -416,6 +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/ /; %namedesc = @n; } } -- 2.25.1