* mandoc: add example to apropos.1 to list all manuals in a given section;
@ 2020-10-01 22:50 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2020-10-01 22:50 UTC (permalink / raw)
To: source
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 <kristaps@bsd.lv>
.\" Copyright (c) 2011,2012,2014,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-01 22:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 22:50 mandoc: add example to apropos.1 to list all manuals in a given section; schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).