STATNEWS(1)

✨ statnews β€” the newsgroup gossip generator ✨

okay bestie, welcome to statnews, section 1 of the Debian GNU/Linux manual. this little icon does stats on a newsgroup and honestly? it's giving data scientist. πŸ’…


πŸŽ€ NAME πŸŽ€

statnews β€” generate some useful statistics out of a newsgroup


πŸ¦‹ SYNOPSIS πŸ¦‹

statnews [OPTIONS] NEWSGROUP

🌸 DESCRIPTION 🌸

The statnews command gets some useful statistics out of a newsgroup. no cap. it shows you stuff like:

  • how many articles each author posted πŸ‘‘
  • how many characters was written
  • how many lines were quoted
  • how many articles belong to each thread 🧡
  • the number of messages/characters per day
  • the average message length

…and so on. literally the whole vibe report. ✨


πŸ’… OPTIONS πŸ’…

  • --capitalize(*) β€” Whether to capitalize the name of both the sender and the receiver of each message (default is --capitalize: yes). This option is useful to collect "AUTHOR" together with "author", "Author", and "AuThor". (the AuThor erasure is REAL, bestie)
  • --dotted() β€” Whether to translate "." to "/" in *NEWSGROUP (default is --nodotted: does translate). This option may be useful if your system stores each newsgroup in a dedicate directory (e.g., news.useless.group) instead that by hierarchy (e.g., news/useless/group), or if your system has a news archive stored this way. yes the default is --nodotted and yes it does translate, that's just how it is, we don't question the lore πŸ™ˆ
  • --from=DATE β€” Set the date statistics start from (DATE format is "dd/mm/yyyy", GMT).
  • --help β€” Display the help summary.
  • --spooldir=SPOOLDIR β€” Search NEWSGROUP in SPOOLDIR (default is /var/spool/news/articles/).
  • --to=DATE β€” Set the date statistics end by (DATE format is "dd/mm/yyyy", GMT).
  • --width=WIDTH β€” Set the terminal width to WIDTH columns (default is 80, with a minimum of 70).

Options may be conveniently abbreviated and prefixed by "-" instead of "--"; the "=" may be omitted or substituted with one or more blanks. (so flexible, so generous, we stan a chill CLI 🫢)

Options listed with (*) may be negated by adding the prefix "no" in front of them (e.g., "--dotted" => "--nodotted").


πŸ”₯ RETURN VALUE πŸ”₯

The statnews command returns 0 on success and a positive integer on errors.

bestie if it comes back with a positive integer, something went wrong. that's not a vibe, that's a bug report. 😭

🌈 ENVIRONMENT 🌈

The environment variable STATNEWS can hold a set of default options for statnews.

These options are interpreted first by the program and can be overridden by explicit command line parameters. For example:

sh: "STATNEWS="--nocapital --width=132"; export STATNEWS"

csh:

"setenv STATNEWS "--nocapital --width=132""

πŸ“ FILES πŸ“

The default spool directory is /var/spool/news/articles/.


πŸ’œ SEE ALSO πŸ’œ

rn(1), readnews(1).


πŸ’€ BUGS πŸ’€

There are no known bugs. (periodt. flawless behavior, main character energy, zero notes.)


🧚 UNRESTRICTIONS 🧚

This program is copylefted. Refer to the GNU General Public License for conditions of use.


πŸ‘‘ AUTHOR πŸ‘‘

This program has been written and is actively maintained by Davide Giovanni Maria Salvetti <salve@debian.org>. we love an actively-maintained king πŸ’–


⭐ HISTORY ⭐

This program was originally aimed for use with FidoNet style echo areas under Debian GNU/Linux. It can be successfully used with Usenet newsgroups as well. More precisely, it can be used with every message base that stores one message per file in some directory in traditional mbox format. versatile icon behavior ✨


okay that's the whole page bestie, you're basically a statnews scholar now πŸŽ“πŸ’– this was the Debian Project's take, dated 2024-02-17, and it's STATNEWS(1) β€” go forth and get those stats, iykyk πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from