CRLF in imported mbox files
Michael Richardson <[email protected]> Mon, 25 Aug 2025 11:52:48 -0400
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <[email protected]> |
Today, I downloaded four archived ".eml" files from mailarchive.ietf.org, so
that I could work with a thread from July. After "inc -file XXX" on them,
I noticed that the results have CRLF. That is, I see ^M on every line in mh-e.
Ick. So we have an assumption that local files are in local line-ending.
{I should have just booted up thunderbird, and used the imap interface to
mailarchive...}
Yeah, I can run "dos2unix" on them, or tr -d...
I feel that perhaps inc should just do the right thing: CR is just whitespace.
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | IoT architect [
] [email protected] http://www.sandelman.ca/ | ruby on rails [
signature.asc
(application/pgp-signature, 511 B)
-----BEGIN PGP SIGNATURE----- iQFFBAEBCgAvFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmishtARHG1jckBzYW5k ZWxtYW4uY2EACgkQgItw+93Q3WVcpwf+I6HGFvk0gSuqucuyEjHXAYVOQBmOXjIc NzYREQlEhkLWQCfsUAHoRl0pmrbUiReGJcbnmjCiCX32202X3XMZDDao29Nni8rP lix2cRhpJC49Juh+bMbXvrYMWxKToWursrIm1kEHyQgE1XHCLT+Wh0SKP8ASVNyx 9h8UDVIEoo8C7pRuqY2WYqFMr1nYs4RxUIYbjKBYhHQQv058mg7Ddtu+1glxjVgj wJpCXJiMXgCYF93FDvnR0Lh/7n2qZhmxQF6YxkxaJATWjVwF9HAetsBEC69FuIjr tNUdLXCA1haqRH4/b08ooURoGR1Sf3MyTHNwZE2M3CtD+0Rlw0yFyA== =1aLV -----END PGP SIGNATURE-----