🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87866

Re: Does "ctlinnd renumber" update spool article XRef: headers?

#87866
From: Julien ÉLIE
Date: Sat, 01 Sep 2018 14:09
28 lines
2432 bytes
Hi Don,
>>> My problem's been simplified in order to make it easy to understand.
>>>       The filenames of local.group, used to be 1 to 129. The files have
>>> been renamed and are now 2001 to 2129.
>>>       Unfortunately, the XRef: headers embedded within the files named
>>> 2001 to 2129 remain at XRef: local.group:1 to XRef: local.group:129.
>>> Will "ctlinnd renumber" replace XRef: headers with higher values?
>>
>> "ctlinnd renumber" won't be modifying articles.
>> I guess you'll have to modify the articles by hand (with the help of a
>> script); I am not aware of an existing script that does what you
>> currently want.
> 
> Thank you for your confirmation of my suspicions. A C program that
> increments file names by a integer constant was earlier written by me.
> At this point it's probably easiest to make my program overwrite the
> embedded XRef: with the correct value.

You can, and rebuild overview data afterwards to take into account new 
values (and also update the number of bytes of a given article, because 
it may have changed).

-- 
Julien ÉLIE

« Tuto, cito, iucunde. » (Esculape)

Technical Details
Message-ID: <pme6in$t3q$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <2018000830d@crcomp.net> <pmc8cj$631$1@news.trigofacile.com> <2018000831c@crcomp.net>

Show Full Headers
Complete Article Headers
Message-ID: <pme6in$t3q$1@news.trigofacile.com>
Subject: Re: Does "ctlinnd renumber" update spool article XRef: headers?
Date: Sat, 1 Sep 2018 16:09:22 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <2018000830d@crcomp.net> <pmc8cj$631$1@news.trigofacile.com> <2018000831c@crcomp.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.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Sep 2018 14:09:27 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a77500e06d900a0e998f7e.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:e06d:900a:e99:8f7e";
 logging-data="29818"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
In-Reply-To: <2018000831c@crcomp.net>
Content-Language: fr
X-Received-Bytes: 2358
X-Received-Body-CRC: 1952887296