From 4ea38555148b23639e8c3e44b70bccbc765b9aa5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Thu, 8 Mar 2001 21:52:53 +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