{
    "content": [
        {
            "type": "text",
            "text": "# ali (info)\n\n## NAME\n\nali - list nmh mail aliases\n\n## SYNOPSIS\n\nali [-help] [-version] [-alias aliasfile] [-list | -nolist] [-user |\n-nouser] [aliases ...]\n\n## DESCRIPTION\n\nali searches the named mail alias files for each of the given  aliases.\nIt  creates a list of addresses for those aliases, and writes that list\non standard output.  If no arguments are given, ali outputs  all  alias\nentries.\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": "info",
        "summary": "ali - list nmh mail aliases",
        "synopsis": "ali [-help] [-version] [-alias aliasfile] [-list | -nolist] [-user |\n-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": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 8,
                "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 |\n-nouser] [aliases ...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "ali searches the named mail alias files for each of the given  aliases.\nIt  creates a list of addresses for those aliases, and writes that list\non standard output.  If no arguments are given, ali outputs  all  alias\nentries.\n\nBy  default, when an alias expands to multiple addresses, the addresses\nare separated by commas and printed on as few lines  as  possible.   If\nthe  -list  switch is specified, and an address expands to multiple ad-\ndresses, each address will appear on a separate line.\n\nThe -user switch directs ali to perform its processing in  an  inverted\nfashion: instead of listing the addresses that each given alias expands\nto, ali will list the aliases that expand to each given address.\n\nThe files specified by the profile entry \"Aliasfile\" and any additional\nalias  files  given  by the -alias aliasfile switch will be read.  Each\nalias is processed as described in mh-alias(5).\n",
                "subsections": []
            },
            "FILES": {
                "content": "Alias files are looked up in multiple locations: if the pathname is ab-\nsolute  or starts with \".\"  or \"..\"  it is accessed directly; otherwise\ntilde expansion is done on usernames, then files are  searched  for  in\nthe  user's Mail directory as specified in their profile.  If not found\nthere, 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.7.1                         2013-12-05                          ALI(1mh)",
                "subsections": []
            }
        }
    }
}