{
    "content": [
        {
            "type": "text",
            "text": "# ali (man)\n\n## NAME\n\nali - list nmh mail aliases\n\n## SYNOPSIS\n\nali [-help] [-version] [-alias aliasfile] [-list | -nolist] [-user | -nouser] [aliases ...]\n\n## DESCRIPTION\n\nali  searches the named mail alias files for each of the given aliases.  It creates a list of\naddresses for those aliases, and writes that list on standard output.  If  no  arguments  are\ngiven, ali outputs all alias entries.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FILES**\n- **PROFILE COMPONENTS**\n- **SEE ALSO**\n- **DEFAULTS** (2 subsections)\n- **CONTEXT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ali",
        "section": "",
        "mode": "man",
        "summary": "ali - list nmh mail aliases",
        "synopsis": "ali [-help] [-version] [-alias aliasfile] [-list | -nolist] [-user | -nouser] [aliases ...]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "mh-alias",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/mh-alias/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "PROFILE COMPONENTS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DEFAULTS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-nolist",
                        "lines": 1
                    },
                    {
                        "name": "-nouser",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "CONTEXT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ali - list nmh mail aliases\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ali [-help] [-version] [-alias aliasfile] [-list | -nolist] [-user | -nouser] [aliases ...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "ali  searches the named mail alias files for each of the given aliases.  It creates a list of\naddresses for those aliases, and writes that list on standard output.  If  no  arguments  are\ngiven, ali outputs all alias entries.\n\nBy  default, when an alias expands to multiple addresses, the addresses are separated by com‐\nmas and printed on as few lines as possible.  If the -list switch is specified,  and  an  ad‐\ndress expands to multiple addresses, each address will appear on a separate line.\n\nThe  -user  switch  directs  ali to perform its processing in an inverted fashion: instead of\nlisting the addresses that each given alias expands to, ali will list the aliases that expand\nto each given address.\n\nThe files specified by the profile entry “Aliasfile” and any additional alias files given  by\nthe  -alias  aliasfile  switch  will  be  read.   Each  alias  is  processed  as described in\nmh-alias(5).\n",
                "subsections": []
            },
            "FILES": {
                "content": "Alias files are looked up in multiple locations: if the pathname is absolute or  starts  with\n“.”   or  “..”  it is accessed directly; otherwise tilde expansion is done on usernames, then\nfiles are searched for in the user's Mail directory as specified in their  profile.   If  not\nfound there, the directory “/etc/nmh” is checked.\n\n$HOME/.mhprofile   The user's profile.\n",
                "subsections": []
            },
            "PROFILE COMPONENTS": {
                "content": "Path:               To determine the user's nmh directory\nAliasfile:          For a default alias file\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mh-alias(5)\n",
                "subsections": []
            },
            "DEFAULTS": {
                "content": "aliasfile  /etc/nmh/MailAliases",
                "subsections": [
                    {
                        "name": "-nolist",
                        "content": ""
                    },
                    {
                        "name": "-nouser",
                        "content": ""
                    }
                ]
            },
            "CONTEXT": {
                "content": "None\n\nnmh-1.8                                      2013-12-05                                     ALI(1mh)",
                "subsections": []
            }
        }
    }
}