{
    "mode": "man",
    "parameter": "nngrep",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/nngrep/1/json",
    "generated": "2026-06-03T00:21:16Z",
    "synopsis": "nngrep [ -ainprsu ] [ -l ] [ pattern ]",
    "sections": {
        "NAME": {
            "content": "nngrep - grep for news group names (nn)\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "nngrep [ -ainprsu ] [ -l ] [ pattern ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "nngrep can print various selections of the available news groups.\n\nWithout  options, nngrep will list all currently subscribed newsgroups whose name matches any\nof the specified patterns.  If no pattern is specified, all subscribed groups will be listed.\n\nThe selection of news groups against which the patterns are matches, and subsequently printed\nby nngrep can be limited or expanded using the following command line options and arguments:\n",
            "subsections": [
                {
                    "name": "-a -u",
                    "content": "",
                    "flag": "-u"
                },
                {
                    "name": "-i",
                    "content": "",
                    "flag": "-i"
                },
                {
                    "name": "-n",
                    "content": "at least one article in the group, or you have unsubscribed to the group.  This  means\nthat  even  reasonable  active  news groups may remain \"new\" for quite some time if it\nonly contains articles which are cross-posted to other groups which occur  earlier  in\nyour presentation sequence.\n",
                    "flag": "-n"
                },
                {
                    "name": "-p",
                    "content": "",
                    "flag": "-p"
                },
                {
                    "name": "-r",
                    "content": "",
                    "flag": "-r"
                },
                {
                    "name": "-s",
                    "content": "",
                    "flag": "-s"
                },
                {
                    "name": "-u",
                    "content": "These options can be combined if they don't logically exclude each other.\n\nFor example, to get the names of all \"source\" groups, you can use the command\nnngrep source\n\nYou can use this to read a specific subset of news groups with nn; for example\nnn `nngrep -sp source`\n",
                    "flag": "-u"
                }
            ]
        },
        "LONG LISTING": {
            "content": "A  long  listing  of the matched groups can be requested with the -l option.  It will include\nthe following information:\n\nSUBSCR     Specifies whether the group is subscribed or not (yes/no).\nNEW        Specifies whether the group is new or not (yes/no).\nUNREAD     Shows the number of unread articles in the group (if any).\nSEQUENCE   Shows the group's index in the presentation sequence.\nGROUP      The name of the group.\n",
            "subsections": []
        },
        "FILES": {
            "content": "~/.newsrc    The record of read articles\n~/.nn/init   The presentation sequence\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "nn(1), nncheck(1), nngoback(1), nngrab(1), nnpost(1), nntidy(1)\nnnadmin(1M), nnusage(1M), nnmaster(8)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Kim F. Storm, Texas Instruments A/S, Denmark\nE-mail: storm@texas.dk\n\n\n\n\n4th Berkeley Distribution                    Release 6.6                                   NNGREP(1)",
            "subsections": []
        }
    },
    "summary": "nngrep - grep for news group names (nn)",
    "flags": [
        {
            "flag": "-u",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-n",
            "long": null,
            "arg": null,
            "description": "at least one article in the group, or you have unsubscribed to the group. This means that even reasonable active news groups may remain \"new\" for quite some time if it only contains articles which are cross-posted to other groups which occur earlier in your presentation sequence."
        },
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-r",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-s",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-u",
            "long": null,
            "arg": null,
            "description": "These options can be combined if they don't logically exclude each other. For example, to get the names of all \"source\" groups, you can use the command nngrep source You can use this to read a specific subset of news groups with nn; for example nn `nngrep -sp source`"
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "nn",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/nn/1/json"
        },
        {
            "name": "nncheck",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/nncheck/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": "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": "8",
            "url": "https://www.chedong.com/phpMan.php/man/nnmaster/8/json"
        }
    ]
}