LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2021, 04:36 PM   #16
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568

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.

Last edited by Petri Kaukasoina; 02-23-2021 at 04:42 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KSH script error -ksh: .: syntax error: `<<' unmatched Cheryl_A Linux - Server 2 01-24-2018 10:27 AM
[SOLVED] Symlink to html file shows a blank page in browser jbruyet Linux - Software 2 09-28-2012 02:13 PM
Question How to get stat() of symlink and not of target of symlink ? ronbarak Programming 3 11-08-2010 12:14 PM
"info ls" shows man page instead of info page lorenz Slackware 8 09-21-2007 08:47 PM
Is there a man page on how to use man page? jdruin Linux - Software 2 10-30-2004 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration