Understand .SH "NAME" form too (e.g. perl manpages)

This commit is contained in:
Ben Gras 2005-11-04 10:50:49 +00:00
parent 6e37eb17b2
commit 12f3eeaa01

View file

@ -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