summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-03-01 15:20:50 +0000
committerwosch <wosch@FreeBSD.org>1997-03-01 15:20:50 +0000
commit39b10ebf20d3d1df87a55a88c7df969edeca29ce (patch)
tree7fabe6a0a829491fb9c7cb7635a37c077d58ac80 /gnu
parentcef9419ed37ed62ad436ea203d067b475d1b8bae (diff)
downloadFreeBSD-src-39b10ebf20d3d1df87a55a88c7df969edeca29ce.zip
FreeBSD-src-39b10ebf20d3d1df87a55a88c7df969edeca29ce.tar.gz
Bugfix for man pages created by perlpod(1).
Submitted by: Slaven ReziƦ (TomiƦ) <eserte@cs.tu-berlin.de>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/makewhatis/makewhatis.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/makewhatis/makewhatis.perl b/gnu/usr.bin/man/makewhatis/makewhatis.perl
index 6b28e24..a3e4489 100644
--- a/gnu/usr.bin/man/makewhatis/makewhatis.perl
+++ b/gnu/usr.bin/man/makewhatis/makewhatis.perl
@@ -26,7 +26,7 @@
#
# makewhatis -- update the whatis database in the man directories.
#
-# $Id$
+# $Id: makewhatis.perl,v 1.13 1997/02/22 15:47:03 peter Exp $
sub usage {
@@ -343,6 +343,7 @@ sub manual {
while(<F>) {
last if /^\.SH[ \t]/;
chop;
+ s/^\.IX\s.*//; # delete perlpod garbage
s/^\.[A-Z]+[ ]+[0-9]+$//; # delete commands
s/^\.[A-Za-z]+[ \t]*//; # delete commands
s/^\.\\".*$//; #" delete comments
OpenPOWER on IntegriCloud