# phpman > man > nngrab(1)

[NNGRAB(1)](https://www.chedong.com/phpMan.php/man/NNGRAB/1/markdown)                              General Commands Manual                             [NNGRAB(1)](https://www.chedong.com/phpMan.php/man/NNGRAB/1/markdown)



## NAME
       nngrab - news retrieval by keyword (nn)

## SYNOPSIS
       **nngrab** [ -**c** ] _keyword_

## DESCRIPTION
       _nngrab_  invokes  _nn_ on all USENET articles whose subject (or keyword) field(s) contain an in‐
       stance 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 unsub‐
       scribed.

## FILES
       $db/subjects   subject database

## SEE ALSO
       [nn(1)](https://www.chedong.com/phpMan.php/man/nn/1/markdown), [nnspew(8)](https://www.chedong.com/phpMan.php/man/nnspew/8/markdown), [egrep(1)](https://www.chedong.com/phpMan.php/man/egrep/1/markdown)

## NOTES
       _nngrab_ _can_ _be_ much faster than the equivalent command shown above, if the tertiary news  sub‐
       ject  database  generated  by  the  [_nnspew_(8)](https://www.chedong.com/phpMan.php/man/nnspew/8/markdown) daemon exists.  To enable the faster operation,
       _nnspew_ must be executed regularly by cron.

       _nngrab_ uses [_egrep_(1)](https://www.chedong.com/phpMan.php/man/egrep/1/markdown) 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.

## 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: <jaw@ames.arc.nasa.gov>



4th Berkeley Distribution                    Release 6.6                                   [NNGRAB(1)](https://www.chedong.com/phpMan.php/man/NNGRAB/1/markdown)
