Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nngrep(1) [debian man page]

NNGREP(1)						      General Commands Manual							 NNGREP(1)

NAME
nngrep - grep for news group names (nn) SYNOPSIS
nngrep [ -ainprsu ] [ -l ] [ pattern ] DESCRIPTION
nngrep can print various selections of the available news groups. Without options, nngrep will list all currently subscribed newsgroups whose name matches any of the specified patterns. If no pattern is specified, all subscribed groups will be listed. The selection of news groups against which the patterns are matches, and subsequently printed by nngrep can be limited or expanded using the following 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. Notice that 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 con- tains articles which are cross-posted to other groups which occur earlier in your presentation sequence. -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 4th Berkeley Distribution Release 6.6 NNGREP(1)

Check Out this Related Man Page

NNPOST(1)						      General Commands Manual							 NNPOST(1)

NAME
nnpost - post news articles (nn) SYNOPSIS
nnpost [ -dksy string ] [ -f file ] [ -p ] [ group... ] DESCRIPTION
nnpost is used to post new articles using nn's normal interface, but without entering nn in reading mode. When started, it reads the init file and then directly executes nn's :post command. It will prompt for a (comma-separated) list of news groups, the article subject, a list of keywords, a summary, and the distribution of the article. Each of these prompts can also be supplied via command line options or arguments as described below. When prompted for the "Newsgroup:", entering a ? as the first key will cause nnpost to list all the known news groups and their purpose (if this information is available). You can also enter / followed by a word or regular expression which will cause nnpost to produce a (much) shorter listing only containing the groups whose name and/or purpose description matches the regular expression. When paging through either list, you can enter q to quit the listing. If a source file is specified with -f it will be used as the initial article body. If the -p option is also specified, the article is posted directly without editing. nnpost can be used to do unattended postings if sufficient arguments are provided on the command line to build the header and the body of the article. The required arguments are: one or more newsgroups, a subject (-s), a source file (-f), a distribution (-d), and the -p option. Other fields which are not specified (e.g. keywords) will not be included in the header. The contents of the news-header variable in the init file will be included in the header. OPTIONS
-d distribution Use the specified distribution for the article. -k "keywords" Associate the specified keywords with the article. -s "subject" Use the specified subject for the new article. -y "summary" Include the given summary in the article header. -f file Read the article body from the specified file. -p Post the article specified with -f without editing. FILES
~/.nn/init The control variables for nnpost. SEE ALSO
nn(1) AUTHOR
Kim F. Storm, Texas Instruments A/S, Denmark E-mail: storm@texas.dk 4th Berkeley Distribution Release 6.6 NNPOST(1)
Man Page