From: Russ Allbery Date: Mon, 14 Jul 2008 03:30:55 +0000 (+0000) Subject: STABLE14-man-page-html-index-underscores-20080713 X-Git-Tag: openafs-stable-1_4_8pre1~43 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0bbbd05dbfff0a4f7927b62405649fd1665c3856;p=packages%2Fo%2Fopenafs.git STABLE14-man-page-html-index-underscores-20080713 LICENSE BSD Remove underscores from the anchor in the index for all section 5 manual pages. (cherry picked from commit 6a322e4eb7e79896e3322e0ace16a6ed99668162) --- diff --git a/doc/man-pages/generate-html b/doc/man-pages/generate-html index 610a7db03..e905231a9 100755 --- a/doc/man-pages/generate-html +++ b/doc/man-pages/generate-html @@ -122,6 +122,9 @@ sub scan_names { warn "$dir/$file: cannot find NAME section, skipping\n"; } $name =~ s/^(backup|bos|fs|fstrace|kas|pts|symlink|uss|vos)_/$1 /; + if ($section eq '5') { + $name =~ s/_/ /g; + } my $page = $file; $page =~ s/\.pod$//; push (@index, [ $section, $name, $page, $desc ]);