TIP: Click on subject to list as thread! ANSI
echo: makenl_ng
to: Wilfred van Velzen
from: Andrew Leary
date: 2017-11-24 03:32:32
subject: Dailylists with makenl_ng

Hello Wilfred!

24 Nov 17 00:55, you wrote to Kees van Eeten:

 WV> The most reliable way would be, to read the first line of the file and
 WV> try to determine the date from that, before using the file date. (file
 WV> dates can change)

This is only the case if the lower level submits updates using MakeNL or other 
nodelist generating software.  For ZCs receiving updates from RCs, this is 
usually the case.  However, it is fairly common for NCs of smaller nets to 
just edit their segment by hand with a text editor.  In cases such as these, 
you can't expect the segment date to be in any particular format on the first 
line of the file; in fact it may not even be there at all.  Even the default 
date line inserted by MakeNL isn't in the most convenient format for sorting 
by date, unless you are going to rely on the 3 digit day number, which will 
cause issues when crossing year boundaries.

In most cases where a segment is sent shortly after being generated, the file 
date stored on disk should be close enough.

Andrew

--- GoldED+/LNX 1.1.5-b20170303
* Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)
SEEN-BY: 3/50 16/0 132/174 154/10 203/0 124 221/0 1 229/426 230/0 240/5832
SEEN-BY: 261/38 266/404 280/464 5003 5555 292/624 854 310/31 320/119 219 322/0
SEEN-BY: 423/120 633/267 280 712/620 848 770/1 2320/100
@PATH: 320/219 203/0 280/464 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.