NNCHECK(1)
π NNCHECK(1) β the check-for-unread-articles girlies' edition π
okay bestie, welcome to nncheck, section 1 of the manual, general commands division. she's little, she's mighty, and she will absolutely tell you if you have unread news. no cap. π«Ά
β¨ NAME β¨
nncheck β check for unread articles π
πΈ SYNOPSIS πΈ
nncheck [ -Q -r -t ] [ -f format ]
yes that's the whole thing. she's compact, she's iconic. π
π DESCRIPTION π
so like, nncheck will report if there are some articles on the system which you have not read. that's it. that's the job. π
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.) β¨
β οΈ bestie, important heads-up: even though unread articles have been reported bynncheck, the actual number of unread articles may be much lower (or even zero) whennnis invoked to read the articles. why? because the calculation of the number of unread articles is only based on recorded article number intervals. invokingnnto 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. so likeβ¦ she's estimating, not snooping. don't come for her. π
π OPTIONS π
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. shhh. π€«-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 a0status (somebody told me this would be useful). π honestly? they were so right.-fformat β Output the number of unread articles using the specified format. The format is a text that may contain the following%-escapes:%uβ resulting output"uuu unread articles"%gβ resulting output"ggg groups"%iβ resulting output"is"if 1 unread article, else"are"%Uβ resulting output"uuu"%Gβ resulting output"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)"
like yes the second one is trying so hard but the first one ATE. periodt. π₯
π¦ FILES π¦
~/.newsrcβ The record of read articles π$db/MASTERβ The database master index ποΈ
π« SEE ALSO π«
nn(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1), nntidy(1), nnadmin(1M), nnusage(1M), nnmaster(1M)
the whole friend group!! go say hi to all of them π«Άβ¨
π AUTHOR π
Kim F. Storm, Texas Instruments A/S, Denmark E-mail: storm@texas.dk
and that's the whole page, bestie!! this was the 4th Berkeley Distribution release, rocking Release 6.7.5 β so go forth, check your news, and remember: <rainbow>no news is good news</rainbow>. mwah!! ππβ¨π¦πΈ
π¦ where this page comes from
- ubuntu stonking: nn 6.7.5-1 Β· permissive
- Copyright 1988, 1990, Kim F. Storm. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms