]> Zhao Yanbai Git Server - minix.git/commitdiff
Understand .SH "NAME" form too (e.g. perl manpages)
authorBen Gras <ben@minix3.org>
Fri, 4 Nov 2005 10:50:49 +0000 (10:50 +0000)
committerBen Gras <ben@minix3.org>
Fri, 4 Nov 2005 10:50:49 +0000 (10:50 +0000)
commands/scripts/makewhatis.sh

index 71b87acccc36393012ff605da717e616e29c7aae..b59cc907b42e1b675c2262553e68e65538ea9d85 100755 (executable)
@@ -28,6 +28,7 @@ cd $1 || exit
                   if   test -f "$page"; then   # (Old sh barfs on 'continue')
 
                        sed -e 's/      / /g
+                               s/"NAME"/NAME/g
                                /^\.SH NAME/,/^\.SH /!d
                                /^\.SH /d
                                s/\\f.//g       # should not be needed