nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mh-format and components with empty content

2015-02-26 20:12:06
Ken wrote:

So, given what Norm has said ... what do people think?  Implement,
or no?

I don't think so.  It would be to support something that isn't in
usual messages.  And wouldn't even be necessary with "Nag: 1" or
whatever, if Norm is willing to update all of his existing Nag
messages.

A quick and dirty test for the empty Nag might be something like
this, with GNU grep:

    egrep --max-count=1 '^(Nag:|)$' | grep Nag:

No doubt others could come up with a more efficient test.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>