


NNGREP(1)                                               NNGREP(1)


NNAAMMEE
       nngrep - grep for news group names (nn)

SSYYNNOOPPSSIISS
       nnnnggrreepp [ -aaiinnpprrssuu ] [ -ll ] [ _p_a_t_t_e_r_n ]

DDEESSCCRRIIPPTTIIOONN
       _n_n_g_r_e_p  can print various selections of the available news
       groups.

       Without options, _n_n_g_r_e_p will list all currently _s_u_b_s_c_r_i_b_e_d
       newsgroups  whose  name  matches any of the specified _p_a_t_-
       _t_e_r_n_s.  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  _n_n_g_r_e_p  can  be
       limited  or  expanded  using  the  following  command line
       options and arguments:

       --aa     Use _b_o_t_h subscribed and unsubscribed groups.  Over-
              rides the --uu option.

       --ii     Use  only _i_g_n_o_r_e_d groups, i.e. which are _n_o_t in the
              presentation sequence.

       --nn     Use only _n_e_w groups.  Notice that  _n_n  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  presenta-
              tion sequence.

       --pp     Use only groups with _u_n_r_e_a_d (pending) articles.

       --rr     Use only _r_e_a_d groups, i.e. without unread articles.

       --ss     Use only  groups  which  are  in  the  presentation
              _s_e_q_u_e_n_c_e.

       --uu     Use only _u_n_s_u_b_s_c_r_i_b_e_d 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 _n_n; for example
            nn `nngrep -sp source`



                           Release 6.4                          1





NNGREP(1)                                               NNGREP(1)


LLOONNGG LLIISSTTIINNGG
       A _l_o_n_g listing of the matched groups can be requested with
       the --ll 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.

FFIILLEESS
       ~/.newsrc    The record of read articles
       ~/.nn/init   The presentation sequence

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

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































                           Release 6.4                          2


