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. πŸ’€

⚠️ 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. 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