From e99acc01f6900f349275b5c4f748029f96505109 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apropos.1') diff --git a/apropos.1 b/apropos.1 index c5c90d30..f085f5b0 100644 --- a/apropos.1 +++ b/apropos.1 @@ -1,4 +1,4 @@ -.\" $Id$ +.\" $Id$ .\" .\" Copyright (c) 2011, 2012 Kristaps Dzonsons .\" Copyright (c) 2011,2012,2014,2017,2018 Ingo Schwarze @@ -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