{
    "content": [
        {
            "type": "text",
            "text": "# nncheck (man)\n\n## NAME\n\nnncheck - check for unread articles\n\n## SYNOPSIS\n\nnncheck [ -Q -r -t ]  [ -f format ]\n\n## DESCRIPTION\n\nnncheck will report if there are some articles on the system which you have not read.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (3 subsections)\n- **FILES**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "nncheck",
        "section": "",
        "mode": "man",
        "summary": "nncheck - check for unread articles",
        "synopsis": "nncheck [ -Q -r -t ]  [ -f format ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-Q",
                "long": null,
                "arg": null,
                "description": "is unread news."
            },
            {
                "flag": "-t",
                "long": null,
                "arg": null,
                "description": "are (not counting split digests!)."
            },
            {
                "flag": "-r",
                "long": null,
                "arg": null,
                "description": "a 0 status (somebody told me this would be useful). -f format Output the number of unread articles using the specified format. The format is a text that may contain the following %-escapes: %-code resulting output %u \"uuu unread articles\" %g \"ggg groups\" %i \"is\" if 1 unread article, else \"are\" %U \"uuu\" %G \"ggg\" where uuu is the number of unread articles, and ggg is the number of groups with un‐ read articles. For example, the default output format is \"There %i %u in %g\" which I prefer to the following less perfect format: \"There are %U unread article(s) in %G group(s)\""
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "nn",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/nn/1/json"
            },
            {
                "name": "nngoback",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/nngoback/1/json"
            },
            {
                "name": "nngrab",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/nngrab/1/json"
            },
            {
                "name": "nngrep",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/nngrep/1/json"
            },
            {
                "name": "nnpost",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/nnpost/1/json"
            },
            {
                "name": "nntidy",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/nntidy/1/json"
            },
            {
                "name": "nnadmin",
                "section": "1M",
                "url": "https://www.chedong.com/phpMan.php/man/nnadmin/1M/json"
            },
            {
                "name": "nnusage",
                "section": "1M",
                "url": "https://www.chedong.com/phpMan.php/man/nnusage/1M/json"
            },
            {
                "name": "nnmaster",
                "section": "1M",
                "url": "https://www.chedong.com/phpMan.php/man/nnmaster/1M/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 20,
                "subsections": [
                    {
                        "name": "-Q",
                        "lines": 2,
                        "flag": "-Q"
                    },
                    {
                        "name": "-t",
                        "lines": 2,
                        "flag": "-t"
                    },
                    {
                        "name": "-r",
                        "lines": 18,
                        "flag": "-r"
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "nncheck - check for unread articles\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "nncheck [ -Q -r -t ]  [ -f format ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "nncheck will report if there are some articles on the system which you have not read.\n\nWithout  options, nncheck will simply print a message reporting the number of unread articles\nwith the following format:\nThere are 327 unread articles in 25 groups\nand when there are no unread articles, the following message will be printed:\nNo News (is good news)\n\nnncheck will exit with a value of 0 if there are unread articles, and 99 if there is no  news\n(see the exception for the -r option.)\n\nIt is important to notice that even though unread articles have been reported by nncheck, the\nactual number of unread articles may be much lower (or even zero) when nn is invoked to  read\nthe articles.  This is because the calculation of the number of unread articles is only based\non recorded article number intervals.  Invoking nn to read the articles may reveal  that  the\narticles  have  previously  been read in another news group, have been expired, or are killed\nusing the auto-kill facility.\n\nThe following options are used to modify the amount and format of the output from nncheck:\n",
                "subsections": [
                    {
                        "name": "-Q",
                        "content": "is unread news.\n",
                        "flag": "-Q"
                    },
                    {
                        "name": "-t",
                        "content": "are (not counting split digests!).\n",
                        "flag": "-t"
                    },
                    {
                        "name": "-r",
                        "content": "a 0 status (somebody told me this would be useful).\n\n-f format\nOutput the number of unread articles using the specified format.  The format is a text\nthat may contain the following %-escapes:\n%-code    resulting output\n%u        \"uuu unread articles\"\n%g        \"ggg groups\"\n%i        \"is\" if 1 unread article, else \"are\"\n%U        \"uuu\"\n%G        \"ggg\"\nwhere uuu is the number of unread articles, and ggg is the number of groups  with  un‐\nread articles.\nFor example, the default output format is\n\"There %i %u in %g\"\nwhich I prefer to the following less perfect format:\n\"There are %U unread article(s) in %G group(s)\"\n",
                        "flag": "-r"
                    }
                ]
            },
            "FILES": {
                "content": "~/.newsrc       The record of read articles\n$db/MASTER      The database master index\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "nn(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1), nntidy(1)\nnnadmin(1M), nnusage(1M), nnmaster(1M)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Kim F. Storm, Texas Instruments A/S, Denmark\nE-mail: storm@texas.dk\n\n\n\n4th Berkeley Distribution                    Release 6.6                                  NNCHECK(1)",
                "subsections": []
            }
        }
    }
}