# phpman > man > nncheck(1)

[NNCHECK(1)](https://www.chedong.com/phpMan.php/man/NNCHECK/1/markdown)                             General Commands Manual                            [NNCHECK(1)](https://www.chedong.com/phpMan.php/man/NNCHECK/1/markdown)



## NAME
       nncheck - check for unread articles

## SYNOPSIS
       **nncheck** [ -Q -r -t ]  [ -f format ]

## DESCRIPTION
       _nncheck_ will report if there are some articles on the system which you have not read.

       Without  options, _nncheck_ will simply print a message reporting the number of unread articles
       with the following format:
            There are 327 unread articles in 25 groups
       and when there are no unread articles, the following message will be printed:
            No News (is good news)

       _nncheck_ will exit with a value of 0 if there are unread articles, and 99 if there is no  news
       (see the exception for the -r option.)

       It is important to notice that even though unread articles have been reported by _nncheck_, the
       actual number of unread articles may be much lower (or even zero) when _nn_ is invoked to  read
       the articles.  This is because the calculation of the number of unread articles is only based
       on recorded article number intervals.  Invoking _nn_ to read the articles may reveal  that  the
       articles  have  previously  been read in another news group, have been expired, or are _killed_
       using the _auto-kill_ facility.

       The following options are used to modify the amount and format of the output from _nncheck_:

### -Q
              is unread news.

### -t
              are (not counting split digests!).

### -r
              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)"

## FILES
       ~/.newsrc       The record of read articles
       $db/MASTER      The database master index

## SEE ALSO
       [nn(1)](https://www.chedong.com/phpMan.php/man/nn/1/markdown), [nngoback(1)](https://www.chedong.com/phpMan.php/man/nngoback/1/markdown), [nngrab(1)](https://www.chedong.com/phpMan.php/man/nngrab/1/markdown), [nngrep(1)](https://www.chedong.com/phpMan.php/man/nngrep/1/markdown), [nnpost(1)](https://www.chedong.com/phpMan.php/man/nnpost/1/markdown), [nntidy(1)](https://www.chedong.com/phpMan.php/man/nntidy/1/markdown)
       [nnadmin(1M)](https://www.chedong.com/phpMan.php/man/nnadmin/1M/markdown), [nnusage(1M)](https://www.chedong.com/phpMan.php/man/nnusage/1M/markdown), [nnmaster(1M)](https://www.chedong.com/phpMan.php/man/nnmaster/1M/markdown)

## AUTHOR
       Kim F. Storm, Texas Instruments A/S, Denmark
       E-mail: <storm@texas.dk>



4th Berkeley Distribution                    Release 6.6                                  [NNCHECK(1)](https://www.chedong.com/phpMan.php/man/NNCHECK/1/markdown)
