Article View: news.software.nn
Article #5173Re: Message: ".newsrc line too long" ???
From: Amos Shapir
Date: Sun, 12 Dec 1993 13:02
Date: Sun, 12 Dec 1993 13:02
35 lines
2087 bytes
2087 bytes
mathew@mantis.co.uk (Snakes of Medusa) writes:
>For instance, here's a line from my .newsrc:
>comp.org.eff.talk: 1-3904,3907,3917-3920,3936,3939,3942,3948,3960-3961,
> 3972-3973,3985,3988,3990,3997-3998,4000,4003,4020,4023,4027,4031,4033,
> 4052-4060,4066,4078,4094-4095,4102-4103
>(I've added carriage returns for clarity)
>I could safely replace it with
>comp.org.eff.talk: 4103
Better make that 1-4103. This can be done by the command:
sed 's/^\([^!]*![^,-]*\).*[,-]\(.*\)/\1-\2/' $HOME/.newsrc
>The reason this happens is that sometimes if you don't read a newsgroup
>for a while, articles will appear and disappear before you get a chance
>to see 'em, and hence there will be gaps in the list of articles you've
>read.
A more probable reason is that most news readers mark cross-posted
articles as read in all newsgroups they are posted to, including
unsubscribed ones (in case you ever want to re-subscribe). When a lot
of (but not all) articles in a group are cross-posted to another
unsubscribed group, that group's line in .newsrc will have a lot of
"holes" in it. This might happen even if you make sure to read all
your subscribed groups every day.
--
Amos Shapir Net: amos@cs.huji.ac.il
Paper: The Hebrew Univ. of Jerusalem, Dept. of Comp. Science.
Givat-Ram, Jerusalem 91904, Israel
Technical Details
Message-ID:
<amos.755700714@hal>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!dearn!barilvm!kineret.huji.ac.il!shum.cc.huji.ac.il!bagel.cs.huji.ac.il! hal!amosReferences:
<2e7ol5$gol@news.u.washington.edu> <2e9ot0$9hg@news.mantis.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <amos.755700714@hal> Subject: Re: Message: ".newsrc line too long" ??? Date: Sun, 12 Dec 1993 13:02:25 +0000 From: amos@cs.huji.ac.il (Amos Shapir) References: <2e7ol5$gol@news.u.washington.edu> <2e9ot0$9hg@news.mantis.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!dearn!barilvm!kineret.huji.ac.il!shum.cc.huji.ac.il!bagel.cs.huji.ac.il! hal!amos Newsgroups: news.software.nn Reply-To: amos@cs.huji.ac.il Organization: The Hebrew U. of Jerusalem, Computer Science Dept. NNTP-Posting-Host: hal.cs.huji.ac.il Lines: 36