{
    "content": [
        {
            "type": "text",
            "text": "# MHPARAM (info)\n\n## NAME\n\nmhparam - print nmh profile and context components\n\n## SYNOPSIS\n\nmhparam [-help] [-version] [components] [-all] [-component | -nocompo-\nnent] [-debug]\n\n## DESCRIPTION\n\nmhparam writes the value of the  specified  profile  component  to  the\nstandard  output,  separated  by  newlines.  Component name matching is\ncase-insensitive.  If the profile component is not present, the default\nvalue (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": "info",
        "summary": "mhparam - print nmh profile and context components",
        "synopsis": "mhparam [-help] [-version] [components] [-all] [-component | -nocompo-\nnent] [-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": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 92,
                "subsections": []
            },
            {
                "name": "EXIT STATUS",
                "lines": 5,
                "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 | -nocompo-\nnent] [-debug]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "mhparam writes the value of the  specified  profile  component  to  the\nstandard  output,  separated  by  newlines.  Component name matching is\ncase-insensitive.  If the profile component is not present, the default\nvalue (or nothing, if there is no default) is printed.\n\nIf the switch -component is given, then the component name is displayed\nalong with the profile components value.  This can be disabled with the\nswitch -nocomponent.\n\nIf  more  than  one component is specified in the components list, then\nthe switch -component is on by default.  If only one component is spec-\nified, then the switch -nocomponent is on by default.\n\nIf  -all  is specified, then all components in the nmh profile are dis-\nplayed and other arguments are ignored.\n\nmhparam can provide other information, such as the nmh version  identi-\nfier,  the  locations of the nmh bindir, libexecdir, etcdir, and docdir\ninstall directories, all proc settings, and the datalocking method  de-\nscribed  in the mh-profile(5) man page.  Information about the configu-\nration of the nmh installation is also available, including the default\nmail  spool locking method.  To test whether the configuration includes\nsupport for SASL, TLS, iconv(3), and oauth, the following commands, re-\nspectively, 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.\nThe -debug switch displays all such other  information  available  from\nmhparam.\n\nNote  that  the  internal  libdir component has been replaced by libex-\necdir.  The old form is deprecated and will be removed in a future  re-\nlease.\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.7.1\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": "mhparam  returns the number of components that were not found, but lim-\nits the return value to 120 to avoid ambiguity, e.g.  127  is  used  by\nshells  to  indicate  `command  not  found',  and  256 would wrap to 0,\nfalsely indicating success.\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.7.1                         2017-02-18                      MHPARAM(1mh)",
                "subsections": []
            }
        }
    }
}