From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10005 invoked from network); 1 Oct 2020 22:50:38 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 1 Oct 2020 22:50:38 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id b6d2be6f for ; Thu, 1 Oct 2020 17:50:31 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 483812e1 for ; Thu, 1 Oct 2020 17:50:31 -0500 (EST) Date: Thu, 1 Oct 2020 17:50:31 -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: add example to apropos.1 to list all manuals in a given section; X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: Log Message: ----------- add example to apropos.1 to list all manuals in a given section; patch from ians@ Modified Files: -------------- mandoc: apropos.1 Revision Data ------------- Index: apropos.1 =================================================================== RCS file: /home/cvs/mandoc/mandoc/apropos.1,v retrieving revision 1.50 retrieving revision 1.51 diff -Lapropos.1 -Lapropos.1 -u -p -r1.50 -r1.51 --- apropos.1 +++ apropos.1 @@ -1,4 +1,4 @@ -.\" $Id$ +.\" $Id$ .\" .\" Copyright (c) 2011, 2012 Kristaps Dzonsons .\" Copyright (c) 2011,2012,2014,2017,2018 Ingo Schwarze @@ -402,6 +402,10 @@ as well: Search in names and descriptions using a case-sensitive regular expression: .Pp .Dl $ apropos \(aq\(tiset.?[ug]id\(aq +.Pp +Search for all manual pages in a given section: +.Pp +.Dl $ apropos \-s 9 \&. .Pp Search for manuals in the library section mentioning both the .Qq optind -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv