This patch fixes the ksh man page:
Code:
--- ksh.1.orig 2020-02-16 20:26:05.000000000 +0200
+++ ksh.1 2021-02-24 00:28:50.261192130 +0200
@@ -19,12 +19,7 @@
.TH KSH93 1
.\}
.SH NAME
-.if \nZ=0 \{\
-sh, rsh, pfsh \- shell, the standard/restricted command and programming language
-.\}
-.if \nZ=1 \{\
ksh, rksh, pfksh \- KornShell, a standard/restricted command and programming language
-.\}
.SH NOTE
Currently,
.I rksh
The man command understood that Z=1 but mandb did not. Now "man sh" does not show anything, neither does "man pfsh", but "man pfksh" works.
Edit: By the way, I noticed that by default /usr/bin/mandb does not read through all the man pages, only new ones. So, one has to first remove ksh.1.gz, run mandb, then put the fixed ksh.1.gz back, and run mandb again.