[net.news.b] destructive N command

ken@ihuxq.UUCP (10/12/83)

it would be nice, wouldn't it?  i'm not holding my breath, though, so i wrote
a quickie kludge to update my .newsrc file to a specified article number.
when i see i'm on article 401 of 899, i quit readnews & do my shell script

       nomore <newsgroup> 899

source is pretty simple:

       echo "all articles up to $2 to be ignored from newsgroup $1"
       ( echo "/$1/s/[:!].*/: 1-$2/"; echo "w
q" ) | ed - $HOME/.newsrc

well, it beats hitting 498 n's.

ken perlow
..ihnp4!ihuxq!ken

ken@ihuxq.UUCP (10/12/83)

that should be echo "w\nq" ) | ed - $HOME/.newsrc
forgot how backslash-n's get stripped off.  sorry.

israel@umcp-cs.UUCP (10/14/83)

Instead of writing a program to update your .newsrc to the last number
of a newsgroup, you can always do:

	readnews -p -n <newsgroup> >& /dev/null &

which will totally clear a newsgroup.  But I still think that it should
be do-able from within 'readnews'.
-- 

~~~ Bruce ~~~
Computer Science Dept., University of Maryland
{rlgvax,seismo}!umcp-cs!israel (Usenet)    israel.umcp-cs@Udel-Relay (Arpanet)

mark@cbosgd.UUCP (Mark Horton) (10/17/83)

2.11 already has a destructive N command, you type
	no!
and it n's everything in the newsgroup.  The syntax may
later change to
	ng
(No to Group) but the evolution of 2.11 is far from clear.

No, don't hold your breath.  2.11 is nowhere near ready to go.

	Mark