From cb0ec4da2e0f089206de6fc3368ee62713b06e0b Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Mon, 6 Sep 1999 05:38:47 +0000 Subject: Fix problem with manpages which contain ``-'' (dash) symbol in Name Description (.Nm) field. PR: bin/13456 Reviewed by: mpp, jkh --- gnu/usr.bin/man/makewhatis/makewhatis.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/man/makewhatis/makewhatis.perl b/gnu/usr.bin/man/makewhatis/makewhatis.perl index baf77d80e089..7094c92b6cde 100644 --- a/gnu/usr.bin/man/makewhatis/makewhatis.perl +++ b/gnu/usr.bin/man/makewhatis/makewhatis.perl @@ -368,7 +368,7 @@ sub manual { $list .= $_; $list .= ' '; } else { - $list .= '- ' if (!$flag && !/-/); + $list .= '- ' if (!$flag && !/^- /); $flag++; s/^\.[A-Z][a-z][ \t]*//; s/[ \t]+$//; -- cgit v1.3