summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xmansrv2
1 files changed, 2 insertions, 0 deletions
diff --git a/mansrv b/mansrv
index 100df80..f05fedb 100755
--- a/mansrv
+++ b/mansrv
@@ -207,2 +207,4 @@ my ($manfile, $mandir) = fileparse($file);
$mandir =~ s/\/man[1-8n]//;
+$manfile =~ s/^(.*\.[1-8n])\..*/$1/;
+$manfile .= ".html";

Return to:

Send suggestions and report system problems to the System administrator.