From cf783253bdd3b4baef509b23aeb07aa8b73c8da1 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok van der Werven Date: Mon, 20 Dec 1999 14:34:29 +0000 Subject: [PATCH] Update man(1) to explain how to use the section numbers. PR: docs/15557 Submitted by: John Meshkoff Reviewed by: sheldonh --- gnu/usr.bin/man/man/man.man | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/usr.bin/man/man/man.man b/gnu/usr.bin/man/man/man.man index c9dcf4eb48f9..6f36fff11ce2 100644 --- a/gnu/usr.bin/man/man/man.man +++ b/gnu/usr.bin/man/man/man.man @@ -157,6 +157,17 @@ the man page. By default, .Nm %pager% is used. .El +.Sh EXAMPLES +.Pp +Normally, to look at the relevant manpage information for getopt, +one would use: +.Dl man getopt +.Pp +However, when referred to a specific section of the manual, +such as +.Xr getopt 3 , +one would use: +.Dl man 3 getopt .Sh SEE ALSO .Xr apropos 1 , .Xr groff 1 ,