MAN
åå
æ¸å¼
説æ
ä¾
æ¦è¦
ããã©ã«ãã®å¤ã¨åä½
ãªãã·ã§ã³
çµäºã¹ãã¼ã¿ã¹
ç°å¢å¤æ°
ãã¡ã¤ã«
é¢é£é ç®
æ´å²
ãã°
åå
man − an interface to the system reference manuals
æ¸å¼
man [man options] [[section] page …] …
man −k [apropos options] regexp …
man −K [man options] [section] term …
man −f [whatis options] page …
man −l [man options] file …
man −w|−W [man options] page …
説æ
man is the system’s manual pager. Each page argument given to man is normally the name of a program, utility or function. The manual page associated with each of these arguments is then found and displayed. A section, if provided, will direct man to look only in that section of the manual. The default action is to search in all of the available sections following a pre−defined order (see DEFAULTS), and to show only the first page found, even if page exists in several sections.
次ã®è¡¨ã¯ããã¥ã¢ã«ã® section çªå·ããã³ãã® section ã«å«ã¾ãããã¼ã¸ã®ç¨®é¡ã示ãã¾ãã
ããã¥ã¢ã«ãã¼ã¸ page ã¯è¤æ°ã®ç¯ã§æ§æããã¾ãã
æ£ç¿ã¨ãã¦ã 説æ (NAME)ã æ¸å¼ (SYNOPSIS)ã è¨å® (CONFIGURATION)ã 説æ (DESCRIPTION)ã ãªãã·ã§ã³ (OPTIONS)ã çµäºã¹ãã¼ã¿ã¹ (EXIT STATUS)ã æ»ãå¤ (RETURN VALUE)ã ã¨ã©ã¼ (ERRORS)ã ç°å¢å¤æ° (ENVIRONMENT)ã ãã¡ã¤ã« (FILES)ã ãã¼ã¸ã§ã³ (VERSIONS)ã æºæ (CONFORMING TO)ã åè (NOTES)ã ãã° (BUGS)ãä¾ (EXAMPLE)ã èè (AUTHORS)ãããã³ é¢é£é ç® (SEE ALSO)ã¨ããååã®ç¯ãå«ã¾ãã¾ãã
æ¸å¼ ã®ç¯ã§ã¯æ¬¡ã®è¡¨è¨ã使ç¨ããã¾ããä»ã®ç¯ã§ãåæ§ã«ãããã¨ãæ¨å¥¨ãã¾ãã
å³å¯ãªå°åã¯åºåããã¤ã¹ã«ä¾åãã¦å¤ããã¾ããä¾ãã°ã端æ«åã§ man ãå®è¡ããæã¯ã¤ã¿ãªãã¯ä½ã使ç¨åºæ¥ãªããããä¸ç·ã¾ãã¯è²ãä»ãããããã- ã¹ãã代ããã«ä½¿ç¨ãã¾ãã
ã³ãã³ãã¾ãã¯é¢æ°ã®æ¸å¼ã¯ãã¹ã¦ã®å©ç¨å¯è½ãªãã¿ã¼ã³ãç¶²ç¾ãã¦ããã¹ãã§ããæä»çãªèµ·åæ¹æ³ã«é¢ãã¦ã¯ããã®ããã¥ã¢ã«ãã¼ã¸ã® æ¸å¼ ç¯ã®ããã«ãåãã¦è¡¨ç¤ºãããã¨ãæ¨å¥¨ãã¾ãã
ä¾
man ls
é ç® (ããã°ã©ã ) ls ã®ããã¥ã¢ã«ãã¼ã¸ã表示ãã¾ãã
man man.7
Display the manual page for macro package man from section 7. (This is an alternative spelling of “man 7 man“.)
man ’man(7)’
Display the manual page for macro package man from section 7. (This is another alternative spelling of “man 7 man“. It may be more convenient when copying and pasting cross−references to manual pages. Note that the parentheses must normally be quoted to protect them from the shell.)
man −a intro
ããã¥ã¢ã«åã«å«ã¾ãããã¹ã¦ã®å©ç¨å¯è½ãª intro ããã¥ã¢ã«ãã¼ã¸ãé£ç¶ãã¦è¡¨ç¤ºãã¾ããé£ç¶è¡¨ç¤ºã®éä¸ã§ãããããã¹ã- ãããããã¨ãã§ãã¾ãã
man −t bash | lpr −Pps
Format the manual page for bash into the default troff or groff format and pipe it to the printer named ps. The default output for groff is usually PostScript. man −−help should advise as to which processor is bound to the −t option.
man −l −Tdvi ./foo.1x.gz > ./foo.1x.dvi
This command will decompress and format the nroff source manual page ./foo.1x.gz into a device independent (dvi) file. The redirection is necessary as the −T flag causes output to be directed to stdout with no pager. The output could be viewed with a program such as xdvi or further processed into PostScript using a program such as dvips.
man −k printf
ãã¼ã¯ã¼ã printf ãããã¥ã¢ã«ãã¼ã¸åã¨è¦ç´æã®ä¸ããæ- £è¦è¡¨ç¾ã¨ãã¦æ¤ç´¢ãã¾ããä¸è´ãããã¹ã¦ã®ããã¥ã¢ã«ãã¼ã¸ã表示ããã¾ãã apropos printf ã¨åæ§ã§ãã
man −f smail
smail ã«ãã£ã¦åç§ãããããã¥ã¢ã«ãã¼ã¸ãæ¤ç´¢ããè¦ã¤ãã£ããã¼ã¸ã®è¦ç´ã表示ãã¾ãã whatis smail ã¨åæ§ã§ãã
æ¦è¦
å©ç¨èãå¯è½ãªéãæè»ã«å©ç¨ã§ããããã«ããããã man ã«ã¯å¤æ°ã®ãªãã·ã§ã³ãããã¾ããæ¤ç´¢ãã¹ãã»ã¯ã·ã§ã³ã®é çªãåºåå¦çç³»ãããã³ä»ã®åä½ã夿´ãããã¨ãã§ãã¾ããæä½æ¹æ³ã«ã¤ãã¦ã¯æ¬¡ã§èª¬æãã¾ãã
If set, various environment variables are interrogated to determine the operation of man. It is possible to set the “catch−all” variable $MANOPT to any string in command line format, with the exception that any spaces used as part of an option’s argument must be escaped (preceded by a backslash). man will parse $MANOPT prior to parsing its own command line. Those options requiring an argument will be overridden by the same options found on the command line. To reset all of the options set in $MANOPT, −D can be specified as the initial command line option. This will allow man to “forget” about the options specified in $MANOPT, although they must still have been valid.
Manual pages are normally stored in nroff(1) format under a directory such as /usr/share/man. In some installations, there may also be preformatted cat pages to improve performance. See manpath(5) for details of where these files are stored.
This package supports manual pages in multiple languages, controlled by your locale. If your system did not set this up for you automatically, then you may need to set $LC_MESSAGES, $LANG, or another system−dependent environment variable to indicate your preferred locale, usually specified in the POSIX format:
<language>[_<territory>[.<character−set>[,<version>]]]
è¨å®ãã¦ãããã±ã¼ã«ã§ç®çã®ãã¼ã¸ãå©ç¨å¯è½ãªå ´åã¯ãæ¨æº (é常ã¯ã¢ã¡ãªã«è±èª) ãã¼ã¸ã®ä»£ããã«è¡¨ç¤ºããã¾ãã
If you find that the translations supplied with this package are not available in your native language and you would like to supply them, please contact the maintainer who will be coordinating such activity.
Individual manual pages are normally written and maintained by the maintainers of the program, function, or other topic that they document, and are not included with this package. If you find that a manual page is missing or inadequate, please report that to the maintainers of the package in question.
ãã®ããã¥ã¢ã«ãã¼ã¸ã£ã¼ã§å©ç¨å¯è½ãªæ©è½ããã³æ¡å¼µã®æå ±ã«é¢ãã¦ã¯ãããã±ã¼ã¸ã§æä¾ããã¦ããææ¸ãåç§ãã¦ãã ããã
ããã©ã«ãã®å¤ã¨åä½
The order of sections to search may be overridden by the environment variable $MANSECT or by the SECTION directive in /etc/man_db.conf. By default it is as follows:
1 1p 8 2 3 3p 3pm 4 5 6 7 9 0p n l p o 1x 2x 3x 4x 5x 6x 7x 8x
The formatted manual page is displayed using a pager. This can be specified in a number of ways, or else will fall back to a default (see option −P for details).
The filters are deciphered by a number of means. Firstly, the command line option −p or the environment variable $MANROFFSEQ is interrogated. If −p was not used and the environment variable was not set, the initial line of the nroff file is parsed for a preprocessor string. To contain a valid preprocessor string, the first line must resemble
’” <string>
string ã¯å¾ã§èª¬æãã¦ãããªãã·ã§ã³ −p ã®æåã®çµã¿åããã§ãã
ãã£ã«ã¿ã¼æå ±ã¨ãã¦ãããã®æ¹æ³ã®ãããã使ç¨ããã¦ããªãå ´åãããã©ã«ãå¤ã使ç¨ããã¾ãã
æ´å½¢ãã¤ãã©ã¤ã³ã¯ãã£ã«ã¿ã¼ã¨ã¡ã¤ã³ã®æ´å½¢ãã¼ã« (nroff ãã¾ã㯠[tg]roff ã« −t ãªãã·ã§ã³ãæå®ãããã®) ã§æ§æãããå®è¡ããã¾ããä»ã®ãã®ã¨ãã¦ããã¥ã¢ã«ãã¼ã¸é層ã®ã«ã¼ãã«å®è¡ãã¡ã¤ã« mandb_nfmt (ã¾ã㯠mandb_tfmt) ãåå¨ããå ´åãmandb_nfmt (ã¾ã㯠mandb_tfmt ã−t ãªãã·ã§ã³æå®ã§) å®è¡ããã¾ããããã«ã¯ãããã¥ã¢ã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãåå¦çæå- åããã³ãªãã·ã§ã³ã®ããã¤ã¹æå®ã −T ã¾ã㯠−E ã¨ä½µãã¦å¼æ°ã¨ãã¦æ¸¡ããã¾ãã
ãªãã·ã§ã³
Non−argument options that are duplicated either on the command line, in $MANOPT, or both, are not harmful. For options that require an argument, each duplication will override the previous argument value.
ä¸è¬çãªãªãã·ã§ã³
−C file, −−config−file=file
ããã©ã«ãã® ~/.manpath ã§ã¯ãªãæå®ããã¦ã¼ã¶è¨å®ãã¡ã¤ã«ã使ç¨ãã¾ãã
−d, −−debug
ãããã°æå ±ã表示ãã¾ãã
−D, −−default
é常ã¯ãã®ãªãã·ã§ã³ãä¸çªæåã«æå®ãã man ã®åä½ãããã©ã«ãã«ãªã»ãããã¾ããããã使ç¨ããã¨ã $MANOPT ã§è¨- å®ããã¦ãããªãã·ã§ã³ããªã»ããã§ãã¾ãã −D ã®å¾ã«ç¶ããªãã·ã§ã³ã¯é常éãã®å¹æãããã¾ãã
−−warnings[=warnings]
groff ããã®è¦åãæå¹ã«ãã¾ãããã®ãªãã·ã§ã³ã¯ããã¥ã¢ã«ãã¼ã¸ã®ã½ã¼ã¹ãã- ã¹ãã®æ´åæ§æ¤æ»ãè¡ãããã«ä½¿ç¨ããã¾ãã warnings ã¯ã³ã³ãåºåãã®è- ¦ååã®ãªã¹ãã§ããæå®ããã¦ããªãå ´åã¯ããã©ã«ãå¤ã¨ã㦠“mac” ã使ç¨ããã¾ãã使ç¨å¯è½ãªè¦ååã«é¢ãã¦ã¯ info groff ã® “Warnings” ãã¼ããåç§ãã¦ãã ããã
æä½ã®ã¡ã¤ã³ã¢ã¼ã
−f, −−whatis
Equivalent to whatis. Display a short description from the manual page, if available. See whatis(1) for details.
−k, −−apropos
apropos ã¨åæ§ã§ãããã¼ã¯ã¼ã (keywords) ã«ä¸è´ããããã¥ã¢ã«ãã¼ã¸ã®ç- ãè¦ç´æãæ¤ç´¢ããããã表示ãã¾ãã詳細㯠apropos(1) ãåç§ãã¦ãã ããã
−K, −−global−apropos
ãã¹ã¦ã®ããã¥ã¢ã«ãã¼ã¸ã®ãã- ã¹ããæ¤ç´¢ãã¾ãã卿°æ¤ç´¢ãè¡ããããé·ãæéããããã¾ããæ¤ç´¢ãããã¼ã¸æ°ãæ¸ããããã«ãå¯è½ã§ããã°ã»ã¯ã·ã§ã³ãæå®ããã¹ãã§ããæ¤ç´¢ããèªã¯ããã©ã«ãã§ã¯åç´ãªæå- åã§ãã −−regex ãªãã·ã§ã³ãæå®ããå ´åã¯æ£è¦è¡¨ç¾ã«ãªãã¾ãã
Note that this searches the sources of the manual pages, not the rendered text, and so may include false positives due to things like comments in source files. Searching the rendered text would be much slower.
−l, −−local−file
Activate “local” mode. Format and display local manual files instead of searching through the system’s manual collection. Each manual page argument will be interpreted as an nroff source file in the correct format. No cat file is produced. If ’−’ is listed as one of the arguments, input will be taken from stdin. When this option is not used, and man fails to find the page required, before displaying the error message, it attempts to act as if this option was supplied, using the name as a filename and looking for an exact match.
−w, −−where, −−path, −−location
Don’t actually display the manual page, but do print the location of the source nroff file that would be formatted. If the −a option is also used, then print the locations of all source files that match the search criteria.
−W, −−where−cat, −−location−cat
Don’t actually display the manual page, but do print the location of the preformatted cat file that would be displayed. If the −a option is also used, then print the locations of all preformatted cat files that match the search criteria.
If −w and −W are both used, then print both source file and cat file separated by a space. If all of −w, −W, and −a are used, then do this for each possible match.
−c, −−catman
ãã®ãªãã·ã§ã³ã¯ä¸è¬çã«ã¯ä½¿ç¨ãã¾ããã catman ãã- ã°ã©ã ã®ã¿ã使ç¨ãã¾ãã
−R encoding, −−recode=encoding
ããã¥ã¢ã«ãã¼ã¸ãéå¸¸ã®æ¹æ³ã§æ´å½¢ãã代ããã«ã encoding ã§æå®ããã¨ã³ã³ã¼ãã£ã³ã°ã«å¤æãã¦åºåãã¾ããã½ã¼ã¹ãã¡ã¤ã«ã®ã¨ã³ã³ã¼ãã£ã³ã°ãç¥ã£ã¦ããå ´åã¯ã manconv(1) ãç´æ¥ä½¿ç¨ãããã¨ãã§ãã¾ããããããªããããã®ãªãã·ã§ã³ã«ãããããã¥ã¢ã«ãã¼ã¸é層ã¨åæ§ã®æ§é ã§ã¤ã³ã¹ãã¼ã«ãããå½¢ã§æä¾ããã¦ãããè¤æ°ã®ããã¥ã¢ã«ãã¼ã¸ã®ã¨ã³ã³ã¼ãã£ã³ã°ãæç¤ºçã«æè- ãããã¨ãªãåä¸ã®ã¨ã³ã³ã¼ãã£ã³ã°ã«å¤æãã¦åºåã§ãã¾ãã
Consider using man-recode(1) instead for converting multiple manual pages, since it has an interface designed for bulk conversion and so can be much faster.
ããã¥ã¢ã«ãã¼ã¸ã®æ¤ç´¢æ¹æ³
−L locale, −−locale=locale
man ã¯é常ãç¾å¨ã®ãã±ã¼ã«ã C ã®é¢æ° setlocale(3) ãå¼ã³åºããã¨ã«ãã£ã¦æ±ºå®ãã¾ããããã¯ãããã $LC_MESSAGES ã $LANG ãªã©ãå«ããã¾ãã¾ãªç°å¢å¤æ°ã使ç¨ãã¾ãã䏿çã«ãã®å¤ã䏿¸ããããå ´åã«ã¯ããã®ãªãã·ã§ã³ã使ç¨ã㦠man ã«ç´æ¥ locale æå- åãæ¸¡ãã¾ããããã¯ãã¼ã¸ã®æ¤ç´¢ãå®éã«éå§ãããã¾ã§ã¯å¹æãç¡ããã¨ã«æ³¨æãã¦ãã ããããã«ãã¡ãã»ã¼ã¸ãªã©ã¯å¸¸ã«åæã«æ±ºå®ãããã- ã±ã¼ã«ã«ãã£ã¦è¡¨ç¤ºããã¾ãã
−m system[,…], −−systems=system[,…]
ã·ã¹ãã ä¸ã§ä»ã®ã·ã¹ãã ã®ããã¥ã¢ã«ãã¼ã¸ã«ã¢ã¯ã»ã¹å¯è½ãªå ´åããã®ãªãã·ã§ã³ãæå®ãã¦ã¢ã¯ã»ã¹ãã¾ãã NewOS ã®ããã¥ã¢ã«ãã¼ã¸ãåç§ããå ´åã¯ãªãã·ã§ã³ −m NewOS ã使ç¨ãã¾ãã
system ã¯ã³ã³ãåºåãã®ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã åã§æå®ãã¾ããç¾å¨ä½¿ç¨ãã¦ãããªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã®ããã¥ã¢ã«ãã¼ã¸ãå«ããå ´åã«ã¯ãã·ã¹ãã åã®å¼æ°ã« man ãå«ãã¾ãããã®ãªãã·ã§ã³ã¯ $SYSTEM ç°å¢å¤æ°ã䏿¸ããã¾ãã
−M path, −−manpath=path
代æ¿ã®ããã¥ã¢ã«ãã¼ã¸æ¤ç´¢ãã¹ãæå®ãã¾ããããã©ã«ãã§ã¯ man 㯠manpath ã§åå¾ã§ããã³ã¼ãã使ç¨ãã¦ããæ¤ç´¢ãããã¹ã決å®ãã¾ãããã®ãªãã·ã§ã³ã¯ $MANPATH ç°å¢å¤æ°ã䏿¸ããã −m ãªãã·ã§ã³ã¯ç¡è¦ããã¾ãã
A path specified as a manpath must be the root of a manual page hierarchy structured into sections as described in the man−db manual (under “The manual page system”). To view manual pages outside such hierarchies, see the −l option.
−S list, −s list, −−sections=list
The given list is a colon− or comma−separated list of sections, used to determine which manual sections to search and in what order. This option overrides the $MANSECT environment variable. (The −s spelling is for compatibility with System V.)
−e sub−extension, −−extension=sub−extension
Some systems incorporate large packages of manual pages, such as those that accompany the Tcl package, into the main manual page hierarchy. To get around the problem of having two manual pages with the same name such as exit(3), the Tcl pages were usually all assigned to section l. As this is unfortunate, it is now possible to put the pages in the correct section, and to assign a specific “extension” to them, in this case, exit(3tcl). Under normal operation, man will display exit(3) in preference to exit(3tcl). To negotiate this situation and to avoid having to know which section the page you require resides in, it is now possible to give man a sub−extension string indicating which package the page must belong to. Using the above example, supplying the option −e tcl to man will restrict the search to pages having an extension of *tcl.
−i, −−ignore−case
ããã¥ã¢ã«ãã¼ã¸ãæ¤ç´¢ããæã«å¤§æåã¨å°æå- ã®åºå¥ããã¾ãããããã¯ããã©ã«ãã®åä½ã§ãã
−I, −−match−case
ããã¥ã¢ã«ãã¼ã¸ãæ¤ç´¢ããæã«å¤§æåã¨å°æåãåºå¥ãã¾ãã
−−regex
Show all pages with any part of either their names or their descriptions matching each page argument as a regular expression, as with apropos(1). Since there is usually no reasonable way to pick a “best” page when searching for a regular expression, this option implies −a.
−−wildcard
Show all pages with any part of either their names or their descriptions matching each page argument using shell−style wildcards, as with apropos(1) −−wildcard. The page argument must match the entire name or description, or match on word boundaries in the description. Since there is usually no reasonable way to pick a “best” page when searching for a wildcard, this option implies −a.
−−names−only
−−regex ã¾ã㯠−−wildcard ãªãã·ã§ã³ã¨ä½µãã¦ä½¿ç¨ããå ´åãä¸è´å¦çãè¦ç´æã«å¯¾ãã¦è¡ããããã¼ã¸åã®ã¿ã«ä¸è´å¦çãè¡ãã¾ãã whatis(1) ã§ä½¿ç¨ããæãåæ§ã§ãããã®ä»ã®å ´åã¯ä½ã广ãåã¼ãã¾ããã
−a, −−all
ããã©ã«ãã§ã¯ã man ã¯æé©ãªããã¥ã¢ã«ãã¼ã¸ã表示ããå¾ã«çµäºãã¾ãããã®ãªãã·ã§ã³ã使ç¨ããã¨ãæ¤ç´¢æ¡ä»¶ã«ä¸è´ãããã¹ã¦ã®ããã¥ã¢ã«ãã¼ã¸ãé çªã«è¡¨ç¤ºãã¾ãã
−u, −−update
This option causes man to update its database caches of installed manual pages. This is only needed in rare situations, and it is normally better to run mandb(8) instead.
−−no−subpages
By default, man will try to interpret pairs of manual page names given on the command line as equivalent to a single manual page name containing a hyphen or an underscore. This supports the common pattern of programs that implement a number of subcommands, allowing them to provide manual pages for each that can be accessed using similar syntax as would be used to invoke the subcommands themselves. For example:
$ man −aw git diff
/usr/share/man/man1/git−diff.1.gz
To disable this behaviour, use the −−no−subpages option.
$ man −aw −−no−subpages git diff
/usr/share/man/man1/git.1.gz
/usr/share/man/man3/Git.3pm.gz
/usr/share/man/man1/diff.1.gz
æ´å½¢æ¸ã¿åºåã®å¶å¾¡
−P pager, −−pager=pager
Specify which output pager to use. By default, man uses less, falling back to cat if less is not found or is not executable. This option overrides the $MANPAGER environment variable, which in turn overrides the $PAGER environment variable. It is not used in conjunction with −f or −k.
ãã®å¤ã¯ãåç´ãªã³ãã³ãåã弿°ä»ãã®ã³ãã³ãã§ãã·ã§ã«ã®ã¨ã¹ã±ã¼ãæå (ããã¯ã¹ã©ãã·ã¥ãã·ã³ã°ã«ã¯ã©ã¼ããããã«ã¯ã©ã¼ã) ã使ç¨ãã¦ããå ´åãããã¾ãããã¤ãã使ç¨ãã¦è¤æ°ã®ã³ãã³ããã¤ãªãããã¨ã¯ã§ãã¾ããããã®ãããªå¿è¦æ§ãããå ´åã表示ãããã¡ã¤ã«ããåä¸ã®å¼æ°ã¾ãã¯æ¨æºå¥åã¨ãã¦åãåãã©ããã¼ã¹ã¯ãªããã使ç¨ãã¾ãã
−r prompt, −−prompt=prompt
less ã®æè¿ã®ãã¼ã¸ã§ã³ããã¼ã¸ã£ã¼ã¨æå®ä½¿ç¨ãã¦ããå ´åã man ã¯ãã- ã³ããã«ææç¾©ãªæå ±ã表示ããããã®è¨å®ããã¾ããããã©ã«ãã®ãã- ã³ããã¯æ¬¡ã®éãã§ãã
Manual page name(sec) line x
name ã¯ããã¥ã¢ã«ãã¼ã¸ã®ååã§ãã sec ã¯ããã¥ã¢ã«ãã¼ã¸ãè¦ã¤ãã£ãã»ã¯ã·ã§ã³åã§ãããã㦠x ã¯ç¾å¨ã®è¡çªå·ã§ãããã㯠$LESS ç°å¢å¤æ°ã使ç¨ãã¦è¡ããã¦ãã¾ãã
Supplying −r with a string will override this default. The string may contain the text $MAN_PN which will be expanded to the name of the current manual page and its section name surrounded by “(” and “)”. The string used to produce the default could be expressed as
Manual page $MAN_PN ?ltline %lt?L/%L.:
byte %bB?s/%s..? (END):?pB %pB\%..
(press h for help or q to quit)
ããã§ã¯èªã¿ããããèæ®ãã¦3è¡ã«åå²ãã¦ãã¾ããå®éã®æå³ã«ã¤ãã¦ã¯ less(1) ã®ããã¥ã¢ã«ãã¼ã¸ãåç§ãã¦ãã ãããããã³ããã®æå- åã¯æåã«ã·ã§ã«ã«ãã£ã¦è§£éããã¾ãããã- ã³ããåã®ãã¹ã¦ã®ããã«ã¯ã©ã¼ããããã¯ã¯ã©ã¼ããããã³ããã¯ã¹ã©ãã·ã¥ã¯åã«ããã¯ã¹ã©ãã·ã¥ãéç½®ãã¦ã¨ã¹ã±ã¼ãããªããã°ããã¾ããããã- ã³ããæååã¯ã¨ã¹ã±ã¼ãããã $ ã§çµäºãããã®å¾ã« less ç¨ã®ãªãã·ã§ã³ãç¶ãã¦ããå ´åãããã¾ããããã©ã«ãã§ã¯ã man 㯠−ix8 ãªãã·ã§ã³ãè¨å®ãã¾ãã
The $MANLESS environment variable described below may be used to set a default prompt string if none is supplied on the command line.
−7, −−ascii
ç´ç²ãª ascii(7) ããã¥ã¢ã«ãã¼ã¸ãã 7 ããã端æ«ã¾ãã¯ç«¯æ«ã¨ãã¥ã¬ã¼ã¿ã¼ã§åç§ããå ´åã latin1(7) ããã¤ã¹è¨- å®ã¨ GNU nroff ãä½µãã¦ä½¿ç¨ããæã«ãããã¤ãã®æåã¯æ- £ãã表示ããã¾ããããã®ãªãã·ã§ã³ã使ç¨ããã¨ãç´ç²ãª ascii ããã¥ã¢ã«ãã¼ã¸ã表示æã« latin1 ããã¤ã¹è¨å®ã使ç¨ã㦠ascii ã§è¡¨ç¤ºãããã¨ãã§ãã¾ãããã㯠latin1 ãã- ã¹ãã¯å¨ã夿ãã¾ãããæ¬¡ã®è¡¨ã¯å®è¡ããã夿ã表ãã¾ãããããã®ãã¡ã®ããã¤ã㯠GNU nroff ã® latin1(7) ããã¤ã¹è¨å®ã使ç¨ããå ´åã«ã®ã¿æ- £ãã表示ããã¾ãã
latin1 åãæ£ãã表示ãããå ´åã¯ã端æ«ã¯ latin1 æåãæ±ããããã«è¨- å®ããã¦ãããããã®ãªãã·ã§ã³ã¯ä¸è¦ã§ãã latin1 å㨠ascii åãåä¸ã®å ´åããã®ãªãã·ã§ã³ã使ç¨ãã¦ãã®ãã¼ã¸ãè¦ã¦ãããã man ã latin1 ããã¤ã¹è¨å®ã使ç¨ãã¦ãã¾ããã latin1 åãæ¬ ãã¦ããã表示ãããããå ´åãããã¥ã¢ã«ãã¼ã¸ãåç§ããæã«ãã®ãªãã·ã§ã³ã使ç¨ããå¿è¦ãããã¾ãã
−tã −Hã −Tã ã¾ã㯠−Z ãªãã·ã§ã³ã使ç¨ãã¦ããå ´åãããã³ GNU groff 以å¤ã使ç¨ãã¦ããå ´åã¯æå³ãããã¾ããã
−E encoding, −−encoding=encoding
ããã©ã«ã以å¤ã®æåã¨ã³ã³ã¼ãã£ã³ã°ã§åºåãçæãã¾ããéå»ã®äºææ§ã®ããã«ã encoding ã«ã¯ãUTF−8 ã®ãããªå®éã®ã¨ã³ã³ã¼ãã£ã³ã°ã«å ã㦠asciiã latin1ãã¾ã㯠utf8 ã®ãã㪠nroff ããã¤ã¹è¨å®ã使ç¨ã§ãã¾ãã
−−no−hyphenation, −−nh
é常ã nroff ã¯ãåèªåã«ãã¤ãã³ãç¡ãã£ãã¨ãã¦ããæ¹è¡é¨åã§ãã- ã¹ãã«èªåçã«ãã¤ãã³ãä»å ãã¾ããããã«ãããè¡åã®åèªéã«éå°ãªã¹ãã¼ã¹ãéç½®ããããã¨ãé²ãã¾ãããã®ãªãã·ã§ã³ã¯èªåçãªãã¤ãã³ä»å ãç¡å¹ã«ãã¾ãããã£ã¦ããã¤ãã³ãå«ã¾ãã¦ããåèªã®ã¿ãã¤ãã³åºåããè¡ããã¾ãã
ããã¥ã¢ã«ãã¼ã¸ãæ¸ãã¦ãã¦ã nroff ãåèªåã®èª¤ã£ãå ´æã«ãã¤ãã³ãä»å ããã®ã鲿- ¢ãããå ´åããã®ãªãã·ã§ã³ã使ç¨ããªãã§ãã ããã代ããã« nroff ã®ææ¸ãåç§ãã¦ãã ãããä¾ãã°ã “%” ãåèªåã«å«ããã¨ããã®å ´æã«ãã¤ãã³ãä»å ãããã¨ãå¯è½ã§ãããã¨ã示ãã¾ããã¾ãã “%” ãåèªã®æåã«ä»å ããã¨ããã®åèªã«ã¯ãã¤ãã³ã¯ä»å ããã¾ããã
−−no−justification, −−nj
é常ã nroff ã¯èªåçã«å·¦å³ä½ç½ã«å¯¾ãã¦ããã¹ããåç- å²ãä»ããã¾ãããã®ãªãã·ã§ã³ã¯å·¦å³ä½ç½ã®åçå²ãä»ããææ- ¢ããå·¦å´ä½ç½ã®ã¿æ´åãã¾ãããã㯠“ragged−right” text ã¨å¼ã°ãã¾ãã
ããã¥ã¢ã«ãã¼ã¸ãæ¸ãã¦ãã¦ã nroff ãããæ®µè½ã«å¯¾ãã¦åç- å²ãä»ããè¡ãã®ã鲿¢ãããå ´åããã®ãªãã·ã§ã³ã使ç¨ããªãã§ãã ããã代ããã« nroff ã®ææ¸ãåç§ãã¦ãã ãããä¾ãã° “.na” ã “.nf” ã “.fi” ã ããã³ “.ad” ã使ç¨ããã¨ä¸æçã«åé調æ´ãåè©°ããç¡å¹ã«ããããã«è¦æ±ã§ãã¾ãã
−p string, −−preprocessor=string
nroff ã¾ã㯠troff/groff ã®åã«å®è¡ããåå¦çç³»ã®é åºãæå®ãã¾ããå¿ããããã¹ã¦ã®ã¤ã³ã¹ãã¼ã«ãããã·ã¹ãã ã§å®å¨ãªåå¦çç³»éåã使ç¨ã§ããããã§ã¯ããã¾ãããããã¤ãã®åå¦çç³»ã¨ããã使ç¨ãã¦æ´å½¢ããæå- ã®ä¾ã¯ eqn (e)ã grap (g)ã pic (p)ã tbl (t)ã vgrind (v)ã refer (r) ã§ãããã®ãªãã·ã§ã³ã¯ $MANROFFSEQ ç°å¢å¤æ°ã䏿¸ããã¾ãã zsoelim ã¯å¸¸ã«æåã®åå¦çç³»ã¨ãã¦ä½¿ç¨ããã¾ãã
−t, −−troff
groff −mandoc ã使ç¨ãã¦ããã¥ã¢ã«ãã¼ã¸ãæ´å½¢ããæ¨æºåºåã¸åºåãã¾ãããã®ãªãã·ã§ã³ã¯ −Hã −Tãã¾ã㯠−Z ãªãã·ã§ã³ã¨ä½µãã¦ä½¿ç¨ããå¿è¦ã¯ããã¾ããã
−T[device], −−troff−device[=device]
ãã®ãªãã·ã§ã³ã¯ groff (ã¾ã㯠troff) ã®åºåãããã©ã«ã以å¤ã®é©åãªããã¤ã¹è¨å®ã«å¤æ´ããããã«ä½¿ç¨ãã¾ããæé»çã« −t ãæå®ããã¾ãã ä¾ã¯ (groff−1.17 ã使ç¨ããæ) dviã latin1ã psã utf8ã X75 ããã³ X100 ã§ãã
−H[browser], −−html[=browser]
ãã®ãªãã·ã§ã³ãæå®ããå ´åã groff 㯠HTML åºåãçæãããã®åºåãã¦ã§ããã©ã¦ã¶ã¼ã§è¡¨ç¤ºãã¾ãããã©ã¦ã¶ã¼ã¯ãªãã·ã§ã³å¼æ°ã® browser (æå®ããã¦ããå ´å)ã $BROWSER ç°å¢å¤æ°ã使ç¨ããã¾ããããããè¨- å®ããã¦ããªãå ´åã¯ã³ã³ãã¤ã«æã®ããã©ã«ã (é常㯠lynx) ã使ç¨ããã¾ãããã®ãªãã·ã§ã³ã«ããæé»çã« −t ãæå®ããã¾ããããã¦ã GNU troff ã使ç¨ãã¦ããæã®ã¿æå¹ã§ãã
−X[dpi], −−gxditview[=dpi]
ãã®ãªãã·ã§ã³ãæå®ããå ´åã gxditview ããã°ã©ã ã使ç¨ãã¦ãgroff ã®åºåãã°ã©ãã£ã«ã«ã¦ã£ã³ãã¦ã«è¡¨ç¤ºãã¾ãã dpi (ããã/ã¤ã³ã) 㯠75ã 75−12ã 100ã ã¾ã㯠100−12 ã§ãããããã©ã«ã㯠75 ã§ãã −12 ã§ã¯ 12 ãã¤ã³ãã®ãã©ã³ãã使ç¨ãã¾ãããã®ãªãã·ã§ã³ã«ãã −T ãªãã·ã§ã³ã¨ããã®å¼æ°ã¨ãã¦ãããã X75ã X75−12ã X100ãã¾ã㯠X100−12 ããã¤ã¹è¨å®ãæé»çã«æå®ããã¾ãã
−Z, −−ditroff
groff 㯠troff ãå®è¡ããå¾ãé©åãªå¾å¦çç³»ã使ç¨ãã¦ã鏿ããããã¤ã¹è¨- å®ã«é©ããåºåãçæãã¾ãã groff −mandoc ã groff ã®å ´åããã®ãªãã·ã§ã³ã¯ groff ã«æ¸¡ãããå¾å¦çç³»ã®ä½¿ç¨ãææ¢ããã¾ãããã®ãªãã·ã§ã³ã«ãã −t ãæé»çã«æå®ããã¾ãã
ãã«ãã®åå¾
−?, −−help
ãã«ãã¡ãã»ã¼ã¸ã表示ãã¦çµäºãã¾ãã
−−usage
Print a short usage message and exit.
−V, −−version
ãã¼ã¸ã§ã³æå ±ã表示ãã¾ãã
çµäºã¹ãã¼ã¿ã¹
0 |
ããã°ã©ã ãæ£å¸¸ã«å®è¡ããã¾ããã |
||
1 |
ä½¿ç¨æ³ãæ§æã¾ãã¯è¨å®ãã¡ã¤ã«ã®ã¨ã©ã¼ã§ãã |
||
2 |
æä½ã®ã¨ã©ã¼ã§ãã |
||
3 |
åããã»ã¹ã 0 ã§ãªãçµäºã¹ãã¼ã¿ã¹ãè¿ãã¾ããã |
||
16 |
ãã¼ã¸ããã¡ã¤ã«ããã¼ã¯ã¼ãã®å¯¾è±¡ãåå¨ããªãããä¸è´ãã¾ããã§ããã |
ç°å¢å¤æ°
MANPATH
$MANPATH ãè¨- å®ããã¦ããå ´åããã®å¤ã¯ããã¥ã¢ã«ãã¼ã¸ãæ¤ç´¢ãããã¹ã¨ãã¦ä½¿ç¨ããã¾ãã
MANROFFOPT
Every time man invokes the formatter (nroff, troff, or groff), it adds the contents of $MANROFFOPT to the formatter’s command line.
MANROFFSEQ
$MANROFFSEQ ãè¨- å®ããã¦ããå ´åããã®å¤ã¯åããã¥ã¢ã«ãã¼ã¸ã«å¯¾ãã¦ä½¿ç¨ããåå¦çç³»ã®éåã¨ãã¦ä½¿ç¨ããã¾ããããã©ã«ãã®åå¦çç³»ã¯ã·ã¹ãã ä¾å- ã§ãã
MANSECT
If $MANSECT is set, its value is a colon−delimited list of sections and it is used to determine which manual sections to search and in what order. The default is “1 1p 8 2 3 3p 3pm 4 5 6 7 9 0p n l p o 1x 2x 3x 4x 5x 6x 7x 8x”, unless overridden by the SECTION directive in /etc/man_db.conf.
MANPAGER, PAGER
If $MANPAGER or $PAGER is set ($MANPAGER is used in preference), its value is used as the name of the program used to display the manual page. By default, less is used, falling back to cat if less is not found or is not executable.
ãã®å¤ã¯ãåç´ãªã³ãã³ãåã弿°ä»ãã®ã³ãã³ãã§ãã·ã§ã«ã®ã¨ã¹ã±ã¼ãæå (ããã¯ã¹ã©ãã·ã¥ãã·ã³ã°ã«ã¯ã©ã¼ããããã«ã¯ã©ã¼ã) ã使ç¨ãã¦ããå ´åãããã¾ãããã¤ãã使ç¨ãã¦è¤æ°ã®ã³ãã³ããã¤ãªãããã¨ã¯ã§ãã¾ããããã®ãããªå¿è¦æ§ãããå ´åã表示ãããã¡ã¤ã«ããåä¸ã®å¼æ°ã¾ãã¯æ¨æºå¥åã¨ãã¦åãåãã©ããã¼ã¹ã¯ãªããã使ç¨ãã¾ãã
MANLESS
If $MANLESS is set, its value will be used as the default prompt string for the less pager, as if it had been passed using the −r option (so any occurrences of the text $MAN_PN will be expanded in the same way). For example, if you want to set the prompt string unconditionally to “my prompt string”, set $MANLESS to ‘−Psmy prompt string’. Using the −r option overrides this environment variable.
BROWSER
$BROWSER ãè¨å®ãã¦ããå ´åããã®å¤ã¯ã³ãã³ã§åºåãããã³ãã³ãã®ãªã¹ãã¨ãã¦ã man −−html ç¨ã®ã¦ã§ããã©ã¦ã¶ã¼ã¨ãã¦é çªã«è©¦ããã¾ããããããã®ã³ãã³ãã§ã¯ã %s 㯠groff ã®åºåãä¿åãããã¡ã¤ã«åã«ã %% ã¯åä¸ã®ãã¼ã»ã³ãè¨å· (%) ã«ã %c ã¯ã³ãã³ (:) ã«ããããç½®æããã¾ãã
SYSTEM |
$SYSTEM ãè¨å®ããã¦ããå ´åã −m ãªãã·ã§ã³ã§æå®ãã弿°ã¨åæ§ã®å¹æãããã¾ãã |
||
MANOPT |
If $MANOPT is set, it will be parsed prior to man’s command line and is expected to be in a similar format. As all of the other man specific environment variables can be expressed as command line options, and are thus candidates for being included in $MANOPT it is expected that they will become obsolete. N.B. All spaces that should be interpreted as part of an option’s argument must be escaped. |
MANWIDTH
If $MANWIDTH is set, its value is used as the line length for which manual pages should be formatted. If it is not set, manual pages will be formatted with a line length appropriate to the current terminal (using the value of $COLUMNS, and ioctl(2) if available, or falling back to 80 characters if neither is available). Cat pages will only be saved when the default formatting can be used, that is when the terminal line length is between 66 and 80 characters.
MAN_KEEP_FORMATTING
é常ã端æ«ä»¥å¤ (ãã¡ã¤ã«ããã¤ããªã©) ã«åºåããå ´åãç¹å¥ãªãã¼ã«ã使ç¨ããªãã¦ãçµæãèªã¿ãããããããã«æ¸å¼æå- ã¯ç ´æ£ããã¾ããããããªããã $MAN_KEEP_FORMATTING ã空以å¤ã«è¨- å®ããå ´åãæ¸å¼æåãæ®ããã¾ããããã«ãã man ã¨ä½µãã¦ä½¿ç¨ããã©ããã¼ã«æ¸å¼æåãè§£éããããã¨ãã§ãã¾ãã
MAN_KEEP_STDERR
é常ãç«¯æ« (é常ã¯ãã¼ã¸ã£ã¼) ã«åºåããæããã¼ã¸ã£ã¼ã®è¡¨ç¤ºã¨å¹²æ¸ããã®ãé¿ãããããããã¥ã¢ã«ãã¼ã¸ãæ´å½¢ããã³ãã³ãã®ã¨ã©ã¼åºåã¯ç ´æ£ããã¾ãã groff ã®ãããªããã°ã©ã ã¯ãæ´åããã¾ãã§ããªããªã©ã®ãå°å- åé¡ã«é¢ããæ¯è¼ç軽微ãªã¨ã©ã¼ã¡ãã»ã¼ã¸ããã°ãã°åºåãã¾ããããã¯ãããã¥ã¢ã«ãã¼ã¸ã¨ä½µãã¦è¡¨ç¤ºããã¨ãè¦è¦ãããæ··ä¹±ã®åå ã¨ãªãã¾ããããããªãããã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¦ãå¿è¦ãããå ´åã $MAN_KEEP_STDERR ã空以å¤ã«è¨- å®ããã¨ãã¨ã©ã¼åºåã¯é常éã表示ããã¾ãã
LANG, LC_MESSAGES
ã·ã¹ãã ã®å®è£ã«ä¾åãã¦ã $LANG ããã³ $LC_MESSAGES ã¯ãç¾å¨ã®ã¡ãã»ã¼ã¸ã®ãã±ã¼ã«ã決ããããã«ä½¿ç¨ããã¾ãã man 㯠(使ç¨å¯è½ã§ããã°ã) ã¡ãã»ã¼ã¸ããã®ãã±ã¼ã«ã§åºåãã¾ãã詳細ã«é¢ãã¦ã¯ setlocale(3) ãåç§ãã¦ãã ããã
ãã¡ã¤ã«
/etc/man_db.conf
man−db è¨å®ãã¡ã¤ã«ã§ãã
/usr/share/man
大åããã¥ã¢ã«ãã¼ã¸é層ã§ãã
é¢é£é ç®
apropos(1), groff(1), less(1), manpath(1), nroff(1), troff(1), whatis(1), zsoelim(1), manpath(5), man(7), catman(8), mandb(8)
Documentation for some packages may be available in other formats, such as info(1) or HTML.
æ´å²
1990, 1991 – Originally written by John W. Eaton (jwe@che.utexas.edu).
1992å¹´12æ23æ¥: Rik Faith (faith@cs.unc.edu) ã Willem Kasdorp (wkasdo@nikhefk.nikef.nl) ã«ãã£ã¦æä¾ãããããããé©ç¨ãã¾ããã
30th April 1994 – 23rd February 2000: Wilf. (G.Wilford@ee.surrey.ac.uk) has been developing and maintaining this package with the help of a few dedicated people.
30th October 1996 – 30th March 2001: Fabrizio Polacco
31st March 2001 – present day: Colin Watson
ãã°
https://savannah.nongnu.org/bugs/?group=man-db