NNGREP(1)

✨ NNGREP(1) ✨

okay bestie, welcome to the General Commands Manual πŸ’… this is nngrep, and yes the name is literally "grep for news group names (nn)" β€” she does what she says on the tin, no cap 🌸


πŸŽ€ NAME πŸŽ€

nngrep β€” grep for news group names (nn)


πŸ¦‹ SYNOPSIS πŸ¦‹

nngrep [ -ainprsu ] [ -l ] [ pattern ]

πŸ’– DESCRIPTION πŸ’–

so like, nngrep can print various selections of the available news groups ✨ that's the whole vibe.

Without options, nngrep will list all currently subscribed newsgroups whose name matches any of the specified patterns. And if you don't specify any pattern at all? She just lists all the subscribed groups, periodt. πŸ‘‘

The selection of news groups against which the patterns are matched β€” and then subsequently printed by nngrep β€” can be limited or expanded using these command line options and arguments:

  • -a β€” use both subscribed and unsubscribed groups. Overrides the -u option. πŸ’«
  • -i β€” use only ignored groups, i.e. which are not in the presentation sequence.
  • -n β€” use only new groups. Heads up bestie, nn considers a group to be new until you have read at least one article in the group, or you have unsubscribed to the group 😭 This means that even reasonable active news groups may remain "new" for quite some time if it only contains articles which are cross-posted to other groups which occur earlier in your presentation sequence. iykyk.
  • -p β€” use only groups with unread (pending) articles.
  • -r β€” use only read groups, i.e. without unread articles.
  • -s β€” use only groups which are in the presentation sequence.
  • -u β€” use only unsubscribed groups.

These options can be combined if they don't logically exclude each other 🫢

For example, to get the names of all "source" groups, you can use the command

nngrep source

You can use this to read a specific subset of news groups with nn; for example

nn `nngrep -sp source`

πŸ”₯ LONG LISTING πŸ”₯

A long listing of the matched groups can be requested with the -l option. It will include the following information:

  • SUBSCR β€” specifies whether the group is subscribed or not (yes/no).
  • NEW β€” specifies whether the group is new or not (yes/no).
  • UNREAD β€” shows the number of unread articles in the group (if any).
  • SEQUENCE β€” shows the group's index in the presentation sequence.
  • GROUP β€” the name of the group.

🌈 FILES 🌈

  • ~/.newsrc β€” the record of read articles
  • ~/.nn/init β€” the presentation sequence

⭐ SEE ALSO ⭐

nn(1), nncheck(1), nngoback(1), nngrab(1), nnpost(1), nntidy(1), nnadmin(1M), nnusage(1M), nnmaster(8)


πŸ‘‘ AUTHOR πŸ‘‘

Kim F. Storm, Texas Instruments A/S, Denmark E-mail: storm@texas.dk


and that's the whole page, bestie πŸŽ€ this came to you from the 4th Berkeley Distribution, Release 6.7.5 β€” go forth and grep those newsgroups, you absolute icon πŸ’œβœ¨

πŸ“¦ where this page comes from