ralph wrote:
Hi Paul,
An obvious fix (for me) is to pre-process the digest, and
hyphen-escape all lines which follow the "END OF DIGEST" line and
which begin with a '-', by adding an extra '- ' at the start of line.
If I do that, then burst will do the right thing, and ignore all of
the trailer text.
Isn't it simpler to
sed '/^- *END OF [^ ]* DIGEST/q'
if you're preprocessing? If your sed has -i then you could run it on
the digest first to do the change in situ.
Yes, it certainly would be easier. (Too many trees -- where's the
forest??) In fact, a few minutes before posting I thought to myself,
"I'll bet Ralph replies with a one-liner for this." :-)
paul
=----------------------
paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 71.2 degrees)
--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers