Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2023 08:57:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271830] man: ignores MANSECT and -S
Message-ID:  <bug-271830-227-RHpxqXmlKq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271830-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271830-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271830

--- Comment #2 from Mohamed Akram <mohd.akram@outlook.com> ---
The reason for filing this issue is to allow using custom sections, such as
man1p (used on Linux for POSIX man pages). As can be seen in the first
instance, because man is ignoring MANSECT it thinks 1p is a page and not a
section so this is impossible.

The second variation I posted is just to illustrate the same bug in a diffe=
rent
way. Fixing the first will likely fix this. It's more simple and
straightforward if what is considered a section is what the user specifies,
falling back to the default otherwise. This will lead to consistent behavior
instead of special casing "default sections" (this is how it works on Linux=
 as
well).

Also, FYI, setting MANSECT in a file doesn't work at all because it reads t=
he
config file after already deciding on the default list.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271830-227-RHpxqXmlKq>