diff --git a/doc/man-pages/generate-html b/doc/man-pages/generate-html index 610a7db03c..e905231a9c 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 ]);