[CONTACT]

[ABOUT]

[POLICY]

[ADVERTISE]

Aeiss.net.news.butzoo!

Found at: gopher.quux.org:70/Archives/usenet-a-news/NET.news.b/81.12.21_eiss.122_net.news.b.txt

Aeiss.122
net.news.b
utzoo!decvax!ucbvax!ARPAVAX:mhtsa!ihnss!npois!eiss!jtb
Mon Dec 21 13:06:54 1981
easy newsgroup deletion
With all the proliferation of newsgroups, and their subsequent deletion,
I found it useful to write the following shell, which I call "ngdel":
	cd $NEWSDIR
	{
	for i
	do
		rm -r $i .$i
		echo "!$i">>ngfile
		echo "/$i/d"
	done
	echo w
	} | ed - active
It does three things: 1) removes the subdirectory (and the "dot" file),
2) disallows new entries for that newsgroup in the ngfile,
and 3) updates the active file. ... for each newsgroup named on the
command line.
Additionally, it COULD: 4) append a ",!$i" to the local system's entry
in the sys file, and 5) send a local news item announcing the deletion.
I decided not to do those extras for my site (yet).
	John Burgess
-----------------------------------------------------------------
 gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org>
 of http://communication.ucsd.edu/A-News/
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
1. There is no money collected for the text(s) of the articles.
2. The following notice remains appended to each copy:
The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 
 Bruce Jones, Henry Spencer, David Wiseman.


AD:

NEW PAGES:

[ODDNUGGET]

[GOPHER]