🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Don Kuenz Thu, 30 Aug 2018 23:14
Does "ctlinnd renumber" update spool article XRef: headers?
#87859
Author: Don Kuenz
Date: Thu, 30 Aug 2018 23:14
14 lines
1391 bytes
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?

73,

-- 
Don Kuenz, KB7RPU


Re: Does "ctlinnd renumber" update spool article XRef: headers?
#87864
Author: Julien ÉLIE
Date: Fri, 31 Aug 2018 20:27
22 lines
2117 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.

-- 
Julien ÉLIE

« – Et souvenez-vous ! La seule chose que nous ayons à craindre,
     c'est que le ciel nous tombe sur la tête !
   – …Et souvenez-vous, Romains, la seule chose que nous ayons à
     craindre, c'est les Gaulois ! » (Astérix)

Re: Does "ctlinnd renumber" update spool article XRef: headers?
#87865
Author: Don Kuenz
Date: Sat, 01 Sep 2018 02:19
26 lines
2024 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> 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. 

73,

-- 
Don Kuenz, KB7RPU


Re: Does "ctlinnd renumber" update spool article XRef: headers?
#87866
Author: 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)

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads