From ac1f4bba20bbd88bf8b19eff33442086be7803f3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 1 Oct 2020 22:50:00 +0000 Subject: add example to apropos.1 to list all manuals in a given section; patch from ians@ --- apropos.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apropos.1 b/apropos.1 index c85de86d..9129ae31 100644 --- a/apropos.1 +++ b/apropos.1 @@ -1,4 +1,4 @@ -.\" $Id: apropos.1,v 1.50 2020/07/20 16:57:29 schwarze Exp $ +.\" $Id: apropos.1,v 1.51 2020/10/01 22:50:00 schwarze Exp $ .\" .\" Copyright (c) 2011, 2012 Kristaps Dzonsons .\" Copyright (c) 2011,2012,2014,2017,2018 Ingo Schwarze @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 20 2020 $ +.Dd $Mdocdate: October 1 2020 $ .Dt APROPOS 1 .Os .Sh NAME @@ -403,6 +403,10 @@ 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 and the -- cgit v1.2.3-56-ge451