All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)man.1 4.1 (Berkeley) 04/29/85
man -k keyword ...
man -f file ...
man [ - ] [ -t ] [ section ] title ...
When given the option -k and a set of keywords, man prints out a one line synopsis of each manual sections whose listing in the table of contents contains that keyword.
When given the option -f and a list of file names, man attempts to locate manual sections related to those files, printing out the table of contents lines for those sections.
When neither -k nor -f is specified, man formats a specified set of manual pages. If a section specifier is given man looks in the that section of the manual for the given titles. Section is an arabic section number, i.e. 3, which may be followed by a single letter classifier, i.e. 1g indicating a graphics program in section 1. If section is omitted, man searches all sections of the manual, giving preference to commands over subroutines in system libraries, and printing the first section it finds, if any.
If the standard output is a teletype, or if the flag - is given, then man pipes its output through cat (1) with the option -s to crush out useless blank lines, ul (1) to create proper underlines for different terminals, and through more (1) to stop after each page on the screen. Hit a space to continue, a control-D to scroll 11 more lines when the output stops.
The -t flag causes man to arrange for the specified section to be troff'ed to a suitable raster output device; see vtroff (1).