Hi,

On 30.03.20 18:10, Balázs Lengyel wrote:
> From: Kent Watsen <kent+i...@watsen.net>
> > [...]
> > All The extracted files (including the two that are NOT folded)
> > contain a ‘^@‘ character at the EOF.   This must be something
> > introduced by `rfcstrip` because `rfcfold` does a simple file-level
> > copy when unfolding isn't needed.
[...]
I do not see the additional ^@ at EOF.  I tested it on cygwin, which is mostly 
GNU compatible.

This is how my file ends

3c 2f 69 6e 73 74 61 6e 63 65 2d 64 61 74 61 2d 73 65 74 3e 00 ---- 
</instance-data-set>

This shows a NUL byte at the end.  In "cat -A" output a NUL byte is
shown as "^@":

    $ printf -- '%s' 3c 2f 69 6e 73 74 61 6e 63 65 2d 64 61 74 61 2d \
                     73 65 74 3e 00 | xxd -r -p | cat -A
</instance-data-set>^@

Your use of "grep -z" shows that NUL bytes are used as line endings
instead of NL bytes ("Line Feed" character, '\n').

I did not look into this further since Martin seems to be working on an
alternate implementation.

Thanks,
Erik

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to