Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mexport does not separate mails with blank lines #207

Closed
skarnet opened this issue May 9, 2021 · 0 comments
Closed

mexport does not separate mails with blank lines #207

skarnet opened this issue May 9, 2021 · 0 comments

Comments

@skarnet
Copy link

skarnet commented May 9, 2021

Hello,
I'm trying to concatenate several files, containing one mail each, into a single mbox.
What I'm running:

echo file1 file2 | mexport > mbox

What I'm expecting in the mbox file:

From sender1
Headers1

Body1

From sender2
Headers2

Body2

What I'm getting:

From sender1
Headers1

Body1
From sender2
Headers2

Body2

Is this expected?

leahneukirchen added a commit that referenced this issue May 9, 2021
https://www.loc.gov/preservation/digital/formats/fdd/fdd000383.shtml
> Each message is immediately prefaced by a separation line and
> terminated by an empty line.

Bug discovered by skarnet.

Fixes #207.
leahneukirchen added a commit that referenced this issue May 9, 2021
https://www.loc.gov/preservation/digital/formats/fdd/fdd000383.shtml
> Each message is immediately prefaced by a separation line and
> terminated by an empty line.

Bug discovered by skarnet.

Fixes #207.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant