From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id a3bc5dde for ; Thu, 22 Nov 2018 07:34:22 -0500 (EST) Date: Thu, 22 Nov 2018 07:34:22 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Correct and shorten the description of the sort order of X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-Id: <381d604578159240@fantadrom.bsd.lv> Log Message: ----------- Correct and shorten the description of the sort order of apropos(1) results. As a matter of fact, which manpath the page comes from does not matter in that context. That only matters for the priority of pages in man(1) mode (without -a, -f, and -k). Noticed while working on a patch from Yuri Pankov . Modified Files: -------------- mandoc: apropos.1 Revision Data ------------- Index: apropos.1 =================================================================== RCS file: /home/cvs/mandoc/mandoc/apropos.1,v retrieving revision 1.48 retrieving revision 1.49 diff -Lapropos.1 -Lapropos.1 -u -p -r1.48 -r1.49 --- apropos.1 +++ apropos.1 @@ -207,26 +207,10 @@ is evaluated case-insensitively. Has no effect on substring terms. .El .Pp -Results are sorted according to the following criteria: -.Bl -enum -.It -The manpath directory tree the page is found in, according to the -order specified with -.Fl M , -.Fl m , -the -.Ev MANPATH -environment variable, the -.Xr man.conf 5 -configuration file, or the default documented in -.Xr man.conf 5 . -.It -The section number in ascending numerical order. -.It -The page name in ascending +Results are sorted first according to the section number in ascending +numerical order, then by the page name in ascending .Xr ascii 7 alphabetical order, case-insensitive. -.El .Pp Each output line is formatted as .Pp -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv