From: Ben Gras Date: Fri, 4 Nov 2005 10:50:49 +0000 (+0000) Subject: Understand .SH "NAME" form too (e.g. perl manpages) X-Git-Tag: v3.1.2a~522 X-Git-Url: http://zhaoyanbai.com/repos/man.named.html?a=commitdiff_plain;h=12f3eeaa01b57244322cbcb9ecbd6c6c5b4b3d5c;p=minix.git Understand .SH "NAME" form too (e.g. perl manpages) --- diff --git a/commands/scripts/makewhatis.sh b/commands/scripts/makewhatis.sh index 71b87accc..b59cc907b 100755 --- a/commands/scripts/makewhatis.sh +++ b/commands/scripts/makewhatis.sh @@ -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