{
    "content": [
        {
            "type": "text",
            "text": "# NNPOST(1) (man)\n\n**Summary:** nnpost - post news articles (nn)\n\n**Synopsis:** nnpost [ -dksy string ] [ -f file ] [ -p ] [ group... ]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -d | — | — | Use the specified distribution for the article. |\n| -k | — | — | Associate the specified keywords with the article. |\n| -s | — | — | Use the specified subject for the new article. |\n| -y | — | — | Include the given summary in the article header. |\n| -f | — | — | Read the article body from the specified file. |\n| -f | — | — |  |\n\n## See Also\n\n- nn(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (25 lines)\n- **OPTIONS** (1 lines) — 6 subsections\n  - -d (2 lines)\n  - -k (2 lines)\n  - -s (2 lines)\n  - -y (2 lines)\n  - -f (2 lines)\n  - -p -f (1 lines)\n- **FILES** (2 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (7 lines)\n\n## Full Content\n\n### NAME\n\nnnpost - post news articles (nn)\n\n### SYNOPSIS\n\nnnpost [ -dksy string ] [ -f file ] [ -p ] [ group... ]\n\n### DESCRIPTION\n\nnnpost  is  used to post new articles using nn's normal interface, but without entering nn in\nreading mode.\n\nWhen started, it reads the init file and then directly executes nn's :post command.\n\nIt will prompt for a (comma-separated) list of news groups, the article subject,  a  list  of\nkeywords,  a summary, and the distribution of the article.  Each of these prompts can also be\nsupplied via command line options or arguments as described below.\n\nWhen prompted for the \"Newsgroup:\", entering a ? as the first key will cause nnpost  to  list\nall the known news groups and their purpose (if this information is available).  You can also\nenter / followed by a word or regular expression which will cause nnpost to produce a  (much)\nshorter  listing only containing the groups whose name and/or purpose description matches the\nregular expression.  When paging through either list, you can enter q to quit the listing.\n\nIf a source file is specified with -f it will be used as the initial article body.  If the -p\noption is also specified, the article is posted directly without editing.\n\nnnpost can be used to do unattended postings if sufficient arguments are provided on the com‐\nmand line to build the header and the body of the article.  The required arguments  are:  one\nor  more  newsgroups, a subject (-s), a source file (-f), a distribution (-d), and the -p op‐\ntion.  Other fields which are not specified (e.g. keywords)  will  not  be  included  in  the\nheader.   The  contents  of the news-header variable in the init file will be included in the\nheader.\n\n### OPTIONS\n\n#### -d\n\nUse the specified distribution for the article.\n\n#### -k\n\nAssociate the specified keywords with the article.\n\n#### -s\n\nUse the specified subject for the new article.\n\n#### -y\n\nInclude the given summary in the article header.\n\n#### -f\n\nRead the article body from the specified file.\n\n#### -p -f\n\n### FILES\n\n~/.nn/init   The control variables for nnpost.\n\n### SEE ALSO\n\nnn(1)\n\n### AUTHOR\n\nKim F. Storm, Texas Instruments A/S, Denmark\nE-mail: storm@texas.dk\n\n\n\n\n4th Berkeley Distribution                    Release 6.6                                   NNPOST(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "NNPOST",
        "section": "1",
        "mode": "man",
        "summary": "nnpost - post news articles (nn)",
        "synopsis": "nnpost [ -dksy string ] [ -f file ] [ -p ] [ group... ]",
        "flags": [
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": "Use the specified distribution for the article."
            },
            {
                "flag": "-k",
                "long": null,
                "arg": null,
                "description": "Associate the specified keywords with the article."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "Use the specified subject for the new article."
            },
            {
                "flag": "-y",
                "long": null,
                "arg": null,
                "description": "Include the given summary in the article header."
            },
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": "Read the article body from the specified file."
            },
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "nn",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/nn/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 25,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-d",
                        "lines": 2,
                        "flag": "-d"
                    },
                    {
                        "name": "-k",
                        "lines": 2,
                        "flag": "-k"
                    },
                    {
                        "name": "-s",
                        "lines": 2,
                        "flag": "-s"
                    },
                    {
                        "name": "-y",
                        "lines": 2,
                        "flag": "-y"
                    },
                    {
                        "name": "-f",
                        "lines": 2,
                        "flag": "-f"
                    },
                    {
                        "name": "-p -f",
                        "lines": 1,
                        "flag": "-f"
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}