diff options
author | phantom <phantom@FreeBSD.org> | 1999-09-06 05:38:47 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 1999-09-06 05:38:47 +0000 |
commit | fc46bb827501a8a945e2a061bbd01609ac67b100 (patch) | |
tree | 4af2643c414fc7cc49445a05a32b45667ded4fe6 /gnu | |
parent | e274489112ecbda81b8593e62a1eca5415a7ccf6 (diff) | |
download | FreeBSD-src-fc46bb827501a8a945e2a061bbd01609ac67b100.zip FreeBSD-src-fc46bb827501a8a945e2a061bbd01609ac67b100.tar.gz |
Fix problem with manpages which contain ``-'' (dash) symbol in
Name Description (.Nm) field.
PR: bin/13456
Reviewed by: mpp, jkh
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/man/makewhatis/makewhatis.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/makewhatis/makewhatis.perl b/gnu/usr.bin/man/makewhatis/makewhatis.perl index baf77d8..7094c92 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]+$//; |