nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nmh-workers] burst behavior


From: Paul Fox
Subject: Re: [nmh-workers] burst behavior
Date: Thu, 27 Jun 2019 11:37:59 -0400

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, address@hidden (arlington, ma, where it's 71.2 degrees)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]