NNGRAB(1)
β¨ NNGRAB(1) β General Commands Manual β¨
okay bestie, pull up a chair because this one is a whole mood π it's called nngrab, it lives in section 1 of the manual, and it's your lil news-retrieval-by-keyword gremlin for nn.
πΈ NAME πΈ
nngrab β news retrieval by keyword (nn) ποΈβ¨
π SYNOPSIS π
nngrab [ -c ] keyword
that's it. one optional flag. one keyword. iconic minimalism tbh π
π¦ DESCRIPTION π¦
so here's the tea: nngrab goes and invokes nn on all USENET articles whose subject (or keyword) field(s) contain an instance of keyword. no cap.
it's literally just a fast equivalent for this:
nn -mxX -s/keyword all
like, same energy, but speedier πββοΈπ¨
for example,
nngrab tesla
will retrieve items concerning Nikola Tesla. (yes, that Nikola Tesla β the man was giving main character energy before it was even a thing β‘π)
keyword case is ignored unless -c is specified, and the keyword can be a regular expressions (escaped to avoid conflicts with the shell, bc the shell is dramatic like that π). for example:
nngrab "n.*tesla"
and the range of search includes all newsgroups on the system, including ones which are unsubscribed. yes bestie, we're going everywhere π
π FILES π
$db/subjectsβ subject database πΎ
π SEE ALSO π
iykyk, go read those too π«Ά
π₯ 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. so like, set up your cron job, bestie, or you're getting the slow path π
nngrab uses egrep(1) to scan the subject database, so if you are not running fast egrep (GNU-style) this is all for naught. literally all for naught. the whole thing. π
β οΈnngrabwill use a subject database generated bynnspewindependent of its age. thus, if you stop runningnnspew, remember to remove the subjects file as well. don't leave stale data lying around, that's not the vibe π ββοΈ
π BUGS π
- Under version 6.4 onwards, search of the
"Keywords:"field is not supported. - Search on name is not possible either.
yeah. two whole features justβ¦ not there. we mourn π₯
π AUTHOR π
James A. Woods, NASA Ames Research Center E-mail: jaw@ames.arc.nasa.gov
absolute legend fr fr π
and that's the whole page, bestie!! this one's from the 4th Berkeley Distribution, Release 6.7.5 β go grab some news, stay hydrated, and don't forget your nnspew cron job πβ¨ππ¦
π¦ where this page comes from
- ubuntu stonking: nn 6.7.5-1 Β· permissive
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms