EnglishFrenchSpanish

OnWorks favicon

nncheck - Online in the Cloud

Run nncheck in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command nncheck that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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 Quiet operation. No output is produced, only the exit status indicate whether
there is unread news.

-t Print the name of each group with unread articles, and how many unread articles
there are (not counting split digests!).

-r Output a single integer value specifying the number of unread articles, and exit
with 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
unread 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)"

Use nncheck online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad