File: nngrep.1

package info (click to toggle)
nn 6.7.3-16.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 3,688 kB
  • sloc: ansic: 32,039; sh: 1,491; awk: 138; makefile: 80
file content (97 lines) | stat: -rw-r--r-- 2,698 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
.TH NNGREP 1 "Release 6.6"
.\" (c) Copyright 1988, 1990, Kim F. Storm.  All rights reserved.
.UC 4
.SH NAME
nngrep \- grep for news group names (nn)
.SH SYNOPSIS
.B nngrep
[ \-\fBainprsu\fP ]
[ \-\fBl\fP ]
[ \fIpattern\fP ]
.SH DESCRIPTION
\fInngrep\fP can print various selections of the available news
groups.
.LP
Without options, \fInngrep\fP will list all currently \fIsubscribed\fP
newsgroups whose name matches any of the specified \fIpatterns\fP.  If
no pattern is specified, all subscribed groups will be listed.
.LP
The selection of news groups against which the patterns are matches,
and subsequently printed by \fInngrep\fP can be limited or
expanded using the following command line options and arguments:
.TP
\fB\-a\fP
Use \fIboth\fP subscribed and unsubscribed groups.  Overrides the
\fB\-u\fP option.
.TP
\fB\-i\fP
Use only \fIignored\fP groups, i.e. which are \fInot\fP in the
presentation sequence.
.TP
\fB\-n\fP
Use only \fInew\fP groups.  Notice that \fInn\fP 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.
.TP
\fB\-p\fP
Use only groups with \fIunread\fP (pending) articles.
.TP
\fB\-r\fP
Use only \fIread\fP groups, i.e. without unread articles.
.TP
\fB\-s\fP
Use only groups which are in the presentation \fIsequence\fP.
.TP
\fB\-u\fP
Use only \fIunsubscribed\fP groups.
.LP
These options can be combined if they don't logically exclude each
other.
.LP
For example, to get the names of all "source" groups, you can use the
command
.br
	nngrep source
.LP
You can use this to read a specific subset of news groups with
\fInn\fP; for example
.br
	nn `nngrep \-sp source`
.SH LONG LISTING
A \fIlong\fP listing of the matched groups can be requested with the
\fB\-l\fP option.  It will include the following information:
.LP
.DT
.ta \w'SEQUENCE'u+3m
.\"ta 0 12
SUBSCR	Specifies whether the group is subscribed or not (yes/no).
.br
NEW	Specifies whether the group is new or not (yes/no).
.br
UNREAD	Shows the number of unread articles in the group (if any).
.br
SEQUENCE	Shows the group's index in the presentation sequence.
.br
GROUP	The name of the group.
.br
.DT
.SH FILES
.DT
.ta \w'~/.nn/init'u+3m
.\"ta 0 12
~/.newsrc	The record of read articles
.br
~/.nn/init	The presentation sequence
.DT
.SH SEE ALSO
nn(1), nncheck(1), nngoback(1), nngrab(1), nnpost(1), nntidy(1)
.br
nnadmin(1M), nnusage(1M), nnmaster(8)
.SH AUTHOR
Kim F. Storm, Texas Instruments A/S, Denmark
.br
E-mail: storm@texas.dk