[2023-08-26 15:28] David Levine <levin...@acm.org>
> Philipp wrote:
>
> > This test now passes.
>
> Thank you for reporting the test failure and for confirming the fix.
>
> > Here you go:
> > $ od -ax /tmp/nmh/test/testdir/test-binary302898.actua
>
> Thanks.
>
> The NUL byte is output as \x00:

I found the problem: The build in printf of dash don't write a NUL.
Using printf from path to generate the test and expected file works as
expected.

Philipp

> > 0000260   y   t   e   :  sp   \   x   0   0   .  nl
> >            7479    3a65    5c20    3078    2e30    000a
>
> The content in the message is identified as binary so I'm not sure why.
> For me, it is output as NUL:
>
> 0000260   y   t   e   :  sp nul   .  nl
>            7479    3a65    0020    0a2e
>
> David
>

Reply via email to