diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-10-01 22:50:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-10-01 22:50:00 +0000 |
commit | e99acc01f6900f349275b5c4f748029f96505109 (patch) | |
tree | e2882e9d2caa91f7a0c723f8b814bae649f9671d /apropos.1 | |
parent | 2d14351d07ed74373585b7cf8b4146d5b5c91ccb (diff) | |
download | mandoc-e99acc01f6900f349275b5c4f748029f96505109.tar.gz |
add example to apropos.1 to list all manuals in a given section;
patch from ians@
Diffstat (limited to 'apropos.1')
-rw-r--r-- | apropos.1 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.\" $Id$ +.\" $Id$ .\" .\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2011,2012,2014,2017,2018 Ingo Schwarze <schwarze@openbsd.org> @@ -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 |