After reading all the related comments so far I think it will be best to follow the suggestion of Travis:
So I try to implement the following rule
line starts with 0
- yes -> no other characters beneth whitespace are on that line -> yes -> remove '0' but keep crlf of that line.
DATHeader is not designed to tell the user what has changed. That is the task for this forum and the official specifications.
If someone is strictly against this behaviour of DATHeader please rise your word as answer to this post please.
Code:
replace them with empty lines
So I try to implement the following rule
line starts with 0
- yes -> no other characters beneth whitespace are on that line -> yes -> remove '0' but keep crlf of that line.
Code:
it might be good to warn the user that they are no longer allowed in official parts.
If someone is strictly against this behaviour of DATHeader please rise your word as answer to this post please.