nmh-workers
[Top] [All Lists]

Re: [nmh-workers] Handling empty components

2019-03-21 06:11:15
Ralph wrote:

Hi Bob,

Is there a concise way to specify "if X is not present or is just
white space?" in one's replcomps?

I'd look into applying function `trim' first;  see mh-format(5).

If this command is of any use, I started to use it to explore that but
ran out of time:

  fmttest -format '%<{reply-to}%|%<{from}%>%>%(void(width))%(putaddr To: )\n'

A msg or -file switch can be added.

David

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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