{
    "content": [
        {
            "type": "text",
            "text": "# ap (info)\n\n## NAME\n\nap - nmh parser of RFC 822-style addresses\n\n## SYNOPSIS\n\n/usr/lib/mh/ap [-help] [-version] [-form formatfile] [-format string]\n[-width columns] addrs ...\n\n## DESCRIPTION\n\nap is a program that parses addresses according to  the  ARPA  Internet\nstandard.  It also understands many non-standard formats.  It is useful\nfor seeing how nmh will interpret an address.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\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": "ap",
        "section": "",
        "mode": "info",
        "summary": "ap - nmh parser of RFC 822-style addresses",
        "synopsis": "/usr/lib/mh/ap [-help] [-version] [-form formatfile] [-format string]\n[-width columns] addrs ...",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "fmttest",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/fmttest/1/json"
            },
            {
                "name": "dp",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/dp/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 27,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "PROFILE COMPONENTS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DEFAULTS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "CONTEXT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ap - nmh parser of RFC 822-style addresses\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "/usr/lib/mh/ap [-help] [-version] [-form formatfile] [-format string]\n[-width columns] addrs ...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "ap is a program that parses addresses according to  the  ARPA  Internet\nstandard.  It also understands many non-standard formats.  It is useful\nfor seeing how nmh will interpret an address.\n\nThe ap program treats each argument  as  one  or  more  addresses,  and\nprints  those  addresses out in the official RFC 822 format.  Hence, it\nis usually best to enclose each argument in quotes for the shell.\n\nTo override the output format used by ap, the -format string or -format\nfile  switches are used.  This permits individual fields of the address\nto be extracted with ease.  The string is simply a format  string,  and\nthe file is simply a format file.  See mh-format(5) for the details.\n\nIn  addition  to the standard escapes, ap also recognizes the following\nadditional escape:\n\nEscape  Returns  Description\nerror   string   A diagnostic if the parse failed\n\nHere is the default format string used by ap:\n\n%<{error}%{error}: %{text}%|%(putstr(proper{text}))%>\n\nwhich says that if an error was detected, print the error, a  `:',  and\nthe  address  in error.  Otherwise, output the RFC 822-proper format of\nthe address.\n",
                "subsections": []
            },
            "FILES": {
                "content": "$HOME/.mhprofile   The user's profile.\n/etc/nmh/mts.conf   The mts configuration file.\n",
                "subsections": []
            },
            "PROFILE COMPONENTS": {
                "content": "None\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "fmttest(1), dp(8)\n\nStandard for the Format of ARPA Internet Text Messages (RFC 822)\n",
                "subsections": []
            },
            "DEFAULTS": {
                "content": "-format             As described above.\n-width              The width of the terminal.\n",
                "subsections": []
            },
            "CONTEXT": {
                "content": "None\n\nnmh-1.7.1                         2013-12-05                           AP(8mh)",
                "subsections": []
            }
        }
    }
}