{
    "content": [
        {
            "type": "text",
            "text": "# mpack (man)\n\n## NAME\n\nmpack - pack a file in MIME format\n\n## SYNOPSIS\n\nmpack  [  -a  ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] file\naddress ...\nmpack [ -a ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] -o out‐\nputfile file\nmpack  [  -a  ]  [  -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] -n\nnewsgroups file\n\n## DESCRIPTION\n\nThe mpack program encodes the the named file in one or more  MIME  messages.   The  resulting\nmessages  are  mailed  to one or more recipients, written to a named file or set of files, or\nposted to a set of newsgroups.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (7 subsections)\n- **ENVIRONMENT**\n- **REPORTING BUGS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "mpack",
        "section": "",
        "mode": "man",
        "summary": "mpack - pack a file in MIME format",
        "synopsis": "mpack  [  -a  ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] file\naddress ...\nmpack [ -a ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] -o out‐\nputfile file\nmpack  [  -a  ]  [  -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] -n\nnewsgroups file",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-a",
                "long": null,
                "arg": null,
                "description": "is inline."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "Set the Subject header field to Subject. By default, mpack will prompt for the con‐ tents of the subject header."
            },
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": "Include the contents of the file descriptionfile in an introductory section at the be‐ ginning of the first generated message."
            },
            {
                "flag": "-m",
                "long": null,
                "arg": null,
                "description": "Split the message (if necessary) into partial messages, each not exceeding maxsize characters. The default limit is the value of the SPLITSIZE environment variable, or no limit if the environment variable does not exist. Specifying a maxsize of 0 means there is no limit to the size of the generated message."
            },
            {
                "flag": "-c",
                "long": null,
                "arg": null,
                "description": "Label the included file as being of MIME type content-type, which must be a subtype of application, audio, image, or video. If this switch is not given, mpack examines the file to determine its type."
            },
            {
                "flag": "-o",
                "long": null,
                "arg": null,
                "description": "Write the generated message to the file outputfile. If the message has to be split, the partial messages will instead be written to the files outputfile.01, output‐ file.02, etc."
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": "Post the generated message(s) to the comma-separated netnews newsgroups. file Encode the named file. address ... Mail the generated messages to the specified addresses."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-a",
                        "lines": 2,
                        "flag": "-a"
                    },
                    {
                        "name": "-s",
                        "lines": 3,
                        "flag": "-s"
                    },
                    {
                        "name": "-d",
                        "lines": 3,
                        "flag": "-d"
                    },
                    {
                        "name": "-m",
                        "lines": 5,
                        "flag": "-m"
                    },
                    {
                        "name": "-c",
                        "lines": 4,
                        "flag": "-c"
                    },
                    {
                        "name": "-o",
                        "lines": 4,
                        "flag": "-o"
                    },
                    {
                        "name": "-n",
                        "lines": 7,
                        "flag": "-n"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "mpack - pack a file in MIME format\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "mpack  [  -a  ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] file\naddress ...\nmpack [ -a ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] -o out‐\nputfile file\nmpack  [  -a  ]  [  -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] -n\nnewsgroups file\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The mpack program encodes the the named file in one or more  MIME  messages.   The  resulting\nmessages  are  mailed  to one or more recipients, written to a named file or set of files, or\nposted to a set of newsgroups.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-a",
                        "content": "is inline.\n",
                        "flag": "-a"
                    },
                    {
                        "name": "-s",
                        "content": "Set  the  Subject header field to Subject.  By default, mpack will prompt for the con‐\ntents of the subject header.\n",
                        "flag": "-s"
                    },
                    {
                        "name": "-d",
                        "content": "Include the contents of the file descriptionfile in an introductory section at the be‐\nginning of the first generated message.\n",
                        "flag": "-d"
                    },
                    {
                        "name": "-m",
                        "content": "Split  the  message  (if  necessary) into partial messages, each not exceeding maxsize\ncharacters.  The default limit is the value of the SPLITSIZE environment variable,  or\nno  limit if the environment variable does not exist.  Specifying a maxsize of 0 means\nthere is no limit to the size of the generated message.\n",
                        "flag": "-m"
                    },
                    {
                        "name": "-c",
                        "content": "Label the included file as being of MIME type content-type, which must be a subtype of\napplication,  audio, image, or video.  If this switch is not given, mpack examines the\nfile to determine its type.\n",
                        "flag": "-c"
                    },
                    {
                        "name": "-o",
                        "content": "Write the generated message to the file outputfile.  If the message has to  be  split,\nthe  partial  messages  will  instead  be  written to the files outputfile.01, output‐\nfile.02, etc.\n",
                        "flag": "-o"
                    },
                    {
                        "name": "-n",
                        "content": "Post the generated message(s) to the comma-separated netnews newsgroups.\n\nfile   Encode the named file.\n\naddress ...\nMail the generated messages to the specified addresses.\n",
                        "flag": "-n"
                    }
                ]
            },
            "ENVIRONMENT": {
                "content": "TMPDIR Directory to store temporary files.  Default is /tmp.\n\nSPLITSIZE\nDefault value of the -m switch.\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "Send all bug reports to mpack-bugs@andrew.cmu.edu.\n\n\n\nMPACK(1)",
                "subsections": []
            }
        }
    }
}