tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Section search order off?
@ 2015-12-30 15:00 Christian Neukirchen
  0 siblings, 0 replies; only message in thread
From: Christian Neukirchen @ 2015-12-30 15:00 UTC (permalink / raw)
  To: tech

Hi,

I noticed the following.  /etc/man.conf contains:

_subdir         {cat,man}0p {cat,man}1 {cat,man}1p {cat,man}8 {cat,man}6 {cat,man}2 {cat,man}3 {cat,man}5 {cat,man}7 {cat,man}4 {cat,man}9 {cat,man}3p {cat,man}3f {cat,man}n
...
1               /usr/{share,local/share}/man/{cat,man}1
1p              /usr/{share,local/share}/man/{cat,man}1p
...

Yet: 

% MANPATH= MANSECT= man -w find
/usr/share/man/man1p/find.1p     
/usr/share/man/man1/find.1
/usr/share/man/mann/find.n

It should prefer find.1 being first in list.

(I think MANSECT is ignored anyway, but it would be nice to have
support for this variable.)

Reproducible with mandoc 1.13.3 and CVS HEAD on Void Linux.

Greetings from 32C3,
-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-30 15:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-30 15:00 Section search order off? Christian Neukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).