Subj : Re: Issues with running makenl for a region
To   : Alan Ianson
From : Wilfred van Velzen
Date : Wed Mar 05 2025 10:38 am

Hi Alan,

On 2025-03-05 00:44:22, you wrote to Dan Clough:

>>> That's a <CTRL>Z. At one time it was widely used as an end of file
>>> marker.

>>> I suppose you could just remove that last line.

>> That would likely "break" the CRC value shown on the top line of a
>> segment.  Not sure if that matters, but...

AI> I'm not sure if the first and last lines are part of the CRC but they are best
AI> left alone.

The first line (containing the CRC) is _not_ part of the CRC calculation.

The last line (ending in 0D 0A) is part of the CRC calculation.

The line ending characters (should always be 0D 0A for a nodelist or segment) are part of the CRC calculation.

(So when you use for instance the dos2unix command on a nodelist file, you will invalidate the CRC.)

The ending CTRL-Z / 1A character is _NOT_ part of the CRC calculation.

So the ending CTRL-Z could be left out without affecting the CRC. But it is part of the standard, so it is best left in.


Bye, Wilfred.

--- FMail-lnx64 2.3.2.4-B20240523
* Origin: FMail development HQ (2:280/464)