nngrab(1)

nngrab1

News retrieval by keyword (nn)

Usage

nngrab [-c] keyword

Overview

nngrab invokes nn on all USENET articles whose subject (or keyword) field(s) contain an instance of keyword. nngrab is a fast equivalent for:

nn -mxX -s/keyword all

For example,

nngrab tesla

will retrieve items concerning Nikola Tesla.

Keyword case is ignored unless -c is specified, and the keyword can be a regular expressions (escaped to avoid conflicts with the shell). For example,

nngrab "n.*tesla"

The range of search includes all newsgroups on the system, including ones which are unsubscribed.

Files

$db/subjects subject database

Notes

nngrab can be much faster than the equivalent command shown above, if the tertiary news subject database generated by the nnspew(8) daemon exists. To enable the faster operation, nnspew must be executed regularly by cron.

nngrab uses egrep(1) to scan the subject database, so if you are not running fast egrep (GNU-style) this is all for naught.

nngrab will use a subject database generated by nnspew independent of its age. Thus, if you stop running nnspew, remember to remove the subjects file as well.

Releases

14 releases since Debian 2.1 (Slink); the text changed 3 times.

  1. 2.1–2.2
  2. 3.0
  3. 3.1
  4. 4.0–13

Bugs

Under version 6.4 onwards, search of the "Keywords:" field is not supported.
Search on name is not possible either.

Author

James A. Woods, NASA Ames Research Center
E-mail: [email protected]

From nn 6.7.3-16 in Debian 13 (Trixie). Parsed by carta from the page's man source.