{
    "content": [
        {
            "type": "text",
            "text": "# manpath(1) (man)\n\n**Summary:** manpath - determine search path for manual pages\n\n**Synopsis:** manpath [-qgdc?V] [-m system[,...]] [-C file]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -q | --quiet | — | Do not issue warnings. |\n| -d | --debug | — | Print debugging information. |\n| -c | --catpath | — | Produce a catpath as opposed to a manpath. Once the manpath is determined, each path element is converted to its relativ |\n| -g | --global | — | Produce a manpath consisting of all paths named as \"global\" within the man-db configu‐ ration file. |\n| -m | — | — | If this system has access to other operating systems' manual hierarchies, this option can be used to include them in the |\n| -C | — | — | Use this user configuration file rather than the default of ~/.manpath. -?, --help Print a help message and exit. |\n| — | --usage | — | Print a short usage message and exit. |\n| -V | --version | — | Display version information. |\n\n## See Also\n\n- apropos(1)\n- man(1)\n- whatis(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (6 lines)\n- **OPTIONS** (1 lines) — 8 subsections\n  - -q --quiet (2 lines)\n  - -d --debug (2 lines)\n  - -c --catpath (3 lines)\n  - -g --global (3 lines)\n  - -m --systems= (9 lines)\n  - -C --config-file= (5 lines)\n  - --usage (2 lines)\n  - -V --version (2 lines)\n- **ENVIRONMENT** (9 lines)\n- **FILES** (2 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (4 lines)\n- **BUGS** (6 lines)\n\n## Full Content\n\n### NAME\n\nmanpath - determine search path for manual pages\n\n### SYNOPSIS\n\nmanpath [-qgdc?V] [-m system[,...]] [-C file]\n\n### DESCRIPTION\n\nIf  $MANPATH  is  set, manpath will simply display its contents and issue a warning.  If not,\nmanpath will determine a suitable manual page hierarchy search path and display the results.\n\nThe colon-delimited path is determined using information gained from the man-db configuration\nfile – (/etc/manpath.config) and the user's environment.\n\n### OPTIONS\n\n#### -q --quiet\n\nDo not issue warnings.\n\n#### -d --debug\n\nPrint debugging information.\n\n#### -c --catpath\n\nProduce  a catpath as opposed to a manpath.  Once the manpath is determined, each path\nelement is converted to its relative catpath.\n\n#### -g --global\n\nProduce a manpath consisting of all paths named as \"global\" within the man-db configu‐\nration file.\n\n#### -m --systems=\n\nIf  this system has access to other operating systems' manual hierarchies, this option\ncan be used to include them in the output of manpath.  To include NewOS's manual  page\nhierarchies use the option -m NewOS.\n\nThe  system  specified can be a combination of comma delimited operating system names.\nTo include the native operating system's manual page hierarchies, the system name  man\nmust  be included in the argument string.  This option will override the $SYSTEM envi‐\nronment variable.\n\n#### -C --config-file=\n\nUse this user configuration file rather than the default of ~/.manpath.\n\n-?, --help\nPrint a help message and exit.\n\n#### --usage\n\nPrint a short usage message and exit.\n\n#### -V --version\n\nDisplay version information.\n\n### ENVIRONMENT\n\nMANPATH\nIf $MANPATH is set, manpath displays its value rather than determining it on the fly.\n\nSee the SEARCH PATH section of manpath(5) for the default behaviour and details of how\nthis environment variable is handled.\n\nSYSTEM If $SYSTEM is set, it will have the same effect as if it had been specified as the ar‐\ngument to the -m option.\n\n### FILES\n\n/etc/manpath.config  man-db configuration file.\n\n### SEE ALSO\n\napropos(1), man(1), whatis(1)\n\n### AUTHOR\n\nWilf. (G.Wilford@ee.surrey.ac.uk).\nFabrizio Polacco (fpolacco@debian.org).\nColin Watson (cjwatson@debian.org).\n\n### BUGS\n\nhttps://gitlab.com/cjwatson/man-db/-/issues\nhttps://savannah.nongnu.org/bugs/?group=man-db\n\n\n\n2.10.2                                       2022-03-17                                   MANPATH(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "manpath",
        "section": "1",
        "mode": "man",
        "summary": "manpath - determine search path for manual pages",
        "synopsis": "manpath [-qgdc?V] [-m system[,...]] [-C file]",
        "flags": [
            {
                "flag": "-q",
                "long": "--quiet",
                "arg": null,
                "description": "Do not issue warnings."
            },
            {
                "flag": "-d",
                "long": "--debug",
                "arg": null,
                "description": "Print debugging information."
            },
            {
                "flag": "-c",
                "long": "--catpath",
                "arg": null,
                "description": "Produce a catpath as opposed to a manpath. Once the manpath is determined, each path element is converted to its relative catpath."
            },
            {
                "flag": "-g",
                "long": "--global",
                "arg": null,
                "description": "Produce a manpath consisting of all paths named as \"global\" within the man-db configu‐ ration file."
            },
            {
                "flag": "-m",
                "long": null,
                "arg": null,
                "description": "If this system has access to other operating systems' manual hierarchies, this option can be used to include them in the output of manpath. To include NewOS's manual page hierarchies use the option -m NewOS. The system specified can be a combination of comma delimited operating system names. To include the native operating system's manual page hierarchies, the system name man must be included in the argument string. This option will override the $SYSTEM envi‐ ronment variable."
            },
            {
                "flag": "-C",
                "long": null,
                "arg": null,
                "description": "Use this user configuration file rather than the default of ~/.manpath. -?, --help Print a help message and exit."
            },
            {
                "flag": "",
                "long": "--usage",
                "arg": null,
                "description": "Print a short usage message and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Display version information."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "apropos",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/apropos/1/json"
            },
            {
                "name": "man",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/man/1/json"
            },
            {
                "name": "whatis",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/whatis/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-q --quiet",
                        "lines": 2,
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "-d --debug",
                        "lines": 2,
                        "flag": "-d",
                        "long": "--debug"
                    },
                    {
                        "name": "-c --catpath",
                        "lines": 3,
                        "flag": "-c",
                        "long": "--catpath"
                    },
                    {
                        "name": "-g --global",
                        "lines": 3,
                        "flag": "-g",
                        "long": "--global"
                    },
                    {
                        "name": "-m --systems=",
                        "lines": 9,
                        "flag": "-m"
                    },
                    {
                        "name": "-C --config-file=",
                        "lines": 5,
                        "flag": "-C"
                    },
                    {
                        "name": "--usage",
                        "lines": 2,
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}