Article View: news.software.nntp
Article #74237Re: Renaming a newsgroup
From: Jeffrey M. Vinocur
Date: Tue, 12 Sep 2006 16:30
Date: Tue, 12 Sep 2006 16:30
30 lines
2358 bytes
2358 bytes
In article <OwbNg.22657$QM6.20750@bgtnsc05-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>Actually, I was fishing for a command to get a listing of the "count" of
>individual files. I found nothing for ls, dir, or vdir.
Ah. I don't know if there's a standard tool. I would do this:
find . -type f | perl -wpe 's@^([^/])*/([^/]*)/.*@$2@' | uniq -c
>I was just wondering what makehistory (or whatever reads every article's
>header) might do when it encountered articles with invalid Xref groups.
>But after some additional caffeine, I presume it would ignore those
>groups, as it does anyway when an article was crossposted to groups on a
>peer, and are not in the active file on the local server.
I presume so to.
When an article comes in, INN reconstructs the Xref header to
only include those groups it carries. But if you try to rebuild
and the Xref header has an old group, well, I suspect it would
ignore it too. It might error, but it would error immediately;
regardless you won't end up with an unstable database that could
cause you trouble later.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<ee6nbc$pv6$1@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<AiTMg.17827$QM6.1566@bgtnsc05-news.ops.worldnet.att.net> <OJ7Ng.103780$5i3.83664@bgtnsc04-news.ops.worldnet.att.net> <ee3bcp$sqa$1@puck.litech.org> <OwbNg.22657$QM6.20750@bgtnsc05-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
Message-ID: <ee6nbc$pv6$1@puck.litech.org> Subject: Re: Renaming a newsgroup Date: Tue, 12 Sep 2006 16:30:36 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <AiTMg.17827$QM6.1566@bgtnsc05-news.ops.worldnet.att.net> <OJ7Ng.103780$5i3.83664@bgtnsc04-news.ops.worldnet.att.net> <ee3bcp$sqa$1@puck.litech.org> <OwbNg.22657$QM6.20750@bgtnsc05-news.ops.worldnet.att.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 30 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1158078636 26598 66.218.0.75 (12 Sep 2006 16:30:36 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 12 Sep 2006 16:30:36 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)