newsgroups(5)

Heath Kehoe hakehoe at avalon.net
Fri Oct 15 15:45:10 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Oct 14, 2004, at 21:38, Russ Allbery wrote:

> Felix E Klee <felix.klee at inka.de> writes:
>> On Tue, 12 Oct 2004 13:46:31 -0700 Russ Allbery wrote:
>
>>> The format of the file is just a newsgroup name, followed by
>>> whitespace, followed by a description of the group.  If the group is
>>> moderated, the description should end in the literal string "
>>> (Moderated)"
>
>> That's what I assumed after playing with the file (aside from the "
>> (Moderated)" part which is of no interest to me, at the moment).
>
>> BTW, is there any tool to add/remove lines to/from that file?
>
> There currently is not.
>

There's a perl script in contrib/ called cleannewsgroups that
removes groups from the newsgroups file that aren't in the
active file.  It also removes duplicates, retaining the last
of any duplicates.

Since checkgroups messages are in the same format as newsgroups,
I update my newsgroups file by appending the entire checkgroups
message (without the headers) to newsgroups, and then running
cleannewsgroups.  That's a quick and easy way to make sure the
newsgroups file stays up to date.

- -heath


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBb/CK4uXPAG0A1J4RAjh0AJ9EBel4iHztsvfysGJD3VC+i1BRKQCdFfSJ
I+lpS7bNypqqG/VZ/0+rLSE=
=SZE8
-----END PGP SIGNATURE-----



More information about the inn-workers mailing list