Re: NULs in drafts

Michael Richardson <[email protected]> Sun, 09 Nov 2025 10:28:19 -0500
Newsgroups gmane.mail.nmh.devel
Message-ID <298258.1762702099@dyas>
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Ralph Corderoy <[email protected]> wrote:
    >> I wound up writing a "findnull.c" code because grep'ing for NUL
    >> apparently won't work due to C-issues.  SED can do things, but I
    >> couldn't get it to work.

    > perl avoids C's strings.  sed does too for its input.

Yes, I probably just screwed up when I tried.
20 lines of C-code wasn't hard to cook up :-)

    > - how many versions of nmh there are =E2=80=94 distro, Emacs, and per=
sonal; -

Two. distro, and git.
Emacs/mh-e is involved only because it seemed that I couldn't reproduce the
problem from cmd-line only tools.  In the end, I found input that reproduced
without me going through mh-e each time.  So I dropped mh-e from the CC :-)

    > what ones introduce NULs; - if changing the length of the ---
    > header/body separator alters the number of NULs.

I suspect that making the header/body separator long/shorter would alter the
number of NULs.  I haven't tried that yet.


--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEERK+9HEcJHTJ9UqTMlUzhVv38QpAFAmkQsxMACgkQlUzhVv38
QpBoCAf/UpG510Y5kMIAarjMQhIdw7fXBCvmOqs4O9DanvvLZvBlv0J34lCjRSY0
F/K002CENavbZs8uRTkWdpTO+OQC4HVbQy9BqIMUjFocVVWNaQhbgpmnptCz7WJn
XoMUYt4CK/cM0t2ejVuoK9FGdE6S2t/Pfufgu1bkCqXWo8ClqlZR67OW1BrengqH
QcDv2bKoFE1bGeXsL1FbB40xoBGqZhgaIRg+uDkS2n/kZk9BRzDHoqwHgFpCsxp5
ewZ6FIfY7clVpU4pa+cHO2GANTNpecsnxGUh5yOt0WVPyovs22Ribn1qDH49eqY3
J8msqUFzbwaJ8tAt5KTAaTiYPlRKrA==
=tojv
-----END PGP SIGNATURE-----
--=-=-=--