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

NEWS(1) 							   USER COMMANDS							   NEWS(1)

NAME
news - display system news SYNOPSIS
news [-adDeflnpvxs] [[article1] [article2] ..] DESCRIPTION
The news command keeps you informed of news concerning the system. Each news item is contained in a separate file in the /var/lib/sysnews directory. Anyone having write permission to this directory can create a news file. If you run the news command without any flags, it displays every unread file in the /var/lib/sysnews directory. Each file is preceded by an appropriate header. To avoid reporting old news, the news command stores a currency time. The news command con- siders your currency time to be the date the $HOME/.news_time file was last modified. Each time you read the news, the modification time of this file changes to that of the reading. Only news item files posted after this time are considered unread. OPTIONS
-a, --all Display all news, also the already read news. -d, --datestamp Add a date stamp to each article name printed. this can only be used with the -nl flags. -D, --datefmt <fmt> Specify a date format, see the strftime(3) man page for more details. the default format is (%b %d %Y) -f, --newsdir <dir> Read news from an alternate newsdir. -l, --oneperline One article name per line. -n, --names Only show the names of news articles. -p, --page Pipe articles through $PAGER or more(1) if the $PAGER environment variable is not set. -s, --articles Reports the number of news articles. MAINTAINER OPTIONS
-e, --expire # Expire news older than # days. -x, --exclude a,b,c A comma separated list of articles which may not be expired. if a file named .noexpire exists in the /var/lib/sysnews direcory, filenames are read from it also. names in this file may be comma separated, and/or one per line. AUTHOR
Charles, <int@link.xs4all.nl> Linux 18 January 1995 NEWS(1)
Man Page