NNTPGET(1)NNTPGET(1)NAMEnntpget - get Usenet articles from a remote NNTP server
SYNOPSISnntpget [ -d dist ] [ -f file ] [ -n newsgroups ] [ -t timestring ] [
-o ] [ -u file ] [ -v ] host
Nntpget connects to the NNTP server at the specified host and retrieves
articles from it. The articles are sent to standard output.
The ``-o'' flag may be used only if the command is executed on the host
where the innd(8) server is running. If this flag is used, nntpget
connects to the specified remote host to retrieve articles. Any arti‐
cle not present in the local history database is then fetched from the
remote site and offered to the local server.
If the ``-v'' flag is used with the ``-o'' flag then each the Message-
ID of each article will be sent to standard output as it is processed.
The list of article Message-ID's is normally read from standard input.
If the ``-f'' flag is used, then a ``newnews'' command is used to
retrieve all articles newer then the modification date of the specified
file. The ``-u'' flag is the same except that if the transfer suc‐
ceeded, the file will be updated with a statistics line, modifying its
timestamp so that it can be used in later invocations. If the ``-t''
flag is used, then the specified timestring is used as the time and
date parameter to the ``newnews'' command.
If either the ``-t'' or ``-f'' flags are used, then the ``-n'' flag may
be used to specify a newsgroup list and the ``-d'' flag may be used to
specify a distribution list. The default is ``*'' for all newsgroups,
and no distribution list.
Truncates articles at 512 lines.
Written by Rich $alz <email@example.com> for InterNetNews. This is
revision 1.8, dated 1993/03/18.