{
    "content": [
        {
            "type": "text",
            "text": "# mhparam (man)\n\n## NAME\n\nmhparam - print nmh profile and context components\n\n## SYNOPSIS\n\nmhparam [-help] [-version] [components] [-all] [-component | -nocomponent] [-debug]\n\n## DESCRIPTION\n\nmhparam writes the value of the specified profile component to the standard output, separated\nby  newlines.   Component name matching is case-insensitive.  If the profile component is not\npresent, the default value (or nothing, if there is no default) is printed.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXIT STATUS**\n- **FILES**\n- **PROFILE COMPONENTS**\n- **SEE ALSO**\n- **DEFAULTS**\n- **CONTEXT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "mhparam",
        "section": "",
        "mode": "man",
        "summary": "mhparam - print nmh profile and context components",
        "synopsis": "mhparam [-help] [-version] [components] [-all] [-component | -nocomponent] [-debug]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "mh-profile",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/mh-profile/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 83,
                "subsections": []
            },
            {
                "name": "EXIT STATUS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "PROFILE COMPONENTS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DEFAULTS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "CONTEXT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "mhparam - print nmh profile and context components\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "mhparam [-help] [-version] [components] [-all] [-component | -nocomponent] [-debug]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "mhparam writes the value of the specified profile component to the standard output, separated\nby  newlines.   Component name matching is case-insensitive.  If the profile component is not\npresent, the default value (or nothing, if there is no default) is printed.\n\nIf the switch -component is given, then the component name is displayed along with  the  pro‐\nfile components value.  This can be disabled with the switch -nocomponent.\n\nIf more than one component is specified in the components list, then the switch -component is\non by default.  If only one component is specified, then the switch -nocomponent is on by de‐\nfault.\n\nIf  -all  is  specified, then all components in the nmh profile are displayed and other argu‐\nments are ignored.\n\nmhparam can provide other information, such as the nmh version identifier, the  locations  of\nthe  nmh  bindir,  libexecdir, etcdir, and docdir install directories, all proc settings, and\nthe datalocking method described in mh-profile(5).  Information about  the  configuration  of\nthe  nmh installation is also available, including the default mail spool locking method.  To\ntest whether the configuration includes support for SASL, TLS, iconv(3), and oauth, the  fol‐\nlowing commands, respectively, will output a non-null string to indicate support:\n\nmhparam sasl\nmhparam tls\nmhparam iconv\nmhparam oauth\n\nConversely,  no  output  means that the specified support is not included.  The -debug switch\ndisplays all such other information available from mhparam.\n\nExamples:\n\n$ mhparam path\nMail\n\n$ mhparam mhlproc\n/usr/lib/mh/mhl\n\n$ mhparam -component Path\nPath: Mail\n\n$ mhparam AliasFile rmmproc\nAliasFile: aliases\nrmmproc: rmmproc\n\n$ mhparam -nocomponent AliasFile rmmproc\naliases\nrmmproc\n\n$ mhparam path nonexistent context\nPath: Mail\ncontext: context\n\n$ mhparam version\nnmh-1.8\n\n$ mhparam etcdir\n/etc/nmh\n\n$ mhparam libexecdir\n/usr/lib/mh\n\n$ mhparam spoollocking\nfcntl\n\n$ mhparam datalocking\nfcntl\n\n$ mhparam sasl\ncyrussasl\n\n$ mhparam tls\ntls\n\n$ mhparam iconv\niconv\n\n$ mhparam oauth\noauth\n\nmhparam is also useful in backquoted operations:\n\n$ fgrep cornell.edu `mhpath +`/`mhparam aliasfile`\n",
                "subsections": []
            },
            "EXIT STATUS": {
                "content": "The exit status is zero if all components are found, or one if any are missing.\n",
                "subsections": []
            },
            "FILES": {
                "content": "$HOME/.mhprofile    The user profile\nor $MH               Rather than the standard profile\n<mh-dir>/context     The user context\nor $MHCONTEXT        Rather than the standard context\n",
                "subsections": []
            },
            "PROFILE COMPONENTS": {
                "content": "context:             To determine the context file\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mh-profile(5)\n",
                "subsections": []
            },
            "DEFAULTS": {
                "content": "`-nocomponent' if only one component is specified\n`-component' if more than one component is specified\n`components' defaults to none\n",
                "subsections": []
            },
            "CONTEXT": {
                "content": "None\n\nnmh-1.8                                      2017-02-18                                 MHPARAM(1mh)",
                "subsections": []
            }
        }
    }
}