Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

statnews(1) [debian man page]

STATNEWS(1)						      Debian GNU/Linux Manual						       STATNEWS(1)

NAME
statnews - generate some useful statistics out of a newsgroup SYNOPSIS
statnews [OPTIONS] NEWSGROUP DESCRIPTION
The statnews command get some useful statistics out of a newsgroup. It displays things 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. 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". --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. --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. 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. 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. 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>. 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. Debian Project 2011-12-25 STATNEWS(1)

Check Out this Related Man Page

snscan,v0.3.8(8)					      System Manager's Manual						  snscan,v0.3.8(8)

NAME
snscan - display information on articles in the spool sncat - display articles in the spool sncancel - cancel articles in the spool SYNOPSIS
snscan [options] articlespec... sncat [options] articlespec... sncancel [options] articlespec... options: [-n] [-s since] [-o outputfile] DESCRIPTION
snscan displays information on all articles specified by articlespec, in the form newsgroup serial id on a line, one line per article matched. This output is suitable for feeding to snprimedb. sncat displays the articles specified by articlespec. sncancel marks articles specified by articlespec as canceled, so they become unavailable to sn programs. ARGUMENTS
articlespec defines a broad pattern for articles. It takes two mutually exclusive forms. Specify by newsgroup and serial number Here articlespec is newsgroup[:range[,range]...] where each range is serial[-[toserial]] (where toserial is greater than serial). If toserial is omitted, then all articles after serial are matched. If both serial and toserial are empty, then only the first and last articles are matched. Specify by articles message ID Here articlespec is -i id... where each id is a message ID, angle brackets optional. OPTIONS
-n This option weeds out articles that are aliases. If an article is crossposted, there will be an original copy, the others will be aliases to it. This option prevents information being displayed if it is not from the original copy. -ssince This option weeds out articles that were obtained before since. since is in the format year/month/day[:hour:minute] where each is a number. year may be 2 or 4 digits, and / and : can be any non-digit character. -ooutputfile Write output to outputfile instead of descriptor 1. Sometimes you just don't feel like using the shell. EXAMPLES
sncancel linux.lemmings:12 Cancel article 12 from linux.lemmings. snscan linux.lemmings:4,12- Display information on article 4, and also articles 12 to the most recent article, from linux.lemmings. sncat -n -s 1998/4/1 linux.lemmings Display all articles that are not aliases, and which were entered after April 1 1998, from linux.lemmings. snscan -i '123@myhost' Display information on the article whose ID is <123@myhost>, in whichever newsgroup it is found. FILES
Each articlespec or id on the command line refers to articles in the news spool located in /var/spool/sn. ENVIRONMENT VARIABLES
SNROOT If this is set and is not empty, the value is used in place of /var/spool/sn, the default news spool directory. EXIT CODES
snscan exits 0 on success, 1 on usage error, 2 on system error, and 3 on other errors. It is not an error to specify an article that does not exist, or which does not meet the since criterion. SEE ALSO
snprimedb(8) N.B. Harold Tay snscan,v0.3.8(8)
Man Page