Hello Wilfred!
26 Sep 18 16:59, you wrote to Paul Quinn:
KvE>> With some tinkering this can all be done with a batch file.
WvV> I use this command sometimes to create a first line sometimes when
WvV> updating segments for the AmigaNet nodelist:
WvV> date +';A Region Nodelist for %A, %B %-d, %Y -- Day number %j : 00000'
You solved one of my issues. I did not think of the %-d.
%d generates a leading 0 for numbers below 10. So I used %e the adds a leading
space vor numbers below 10, I then replaced the double space by a single
space in a later string handling.
Thanks.
I generate " for %A, %B %-d, %Y -- Day number %j : "
and then i used sed to replace ' for .* : ' with the above gnerated date
string. This edits only the date dependent parts, The CRC is untouched.
As for the CRC, it can be used to see if the file has not been altered.
As far as I have found makenl only checks the CRC when a diff file is applied.
Kees
--- GoldED+/LNX 1.1.5
* Origin: As for me, all I know is that, I know nothing. (2:280/5003.4)
|