[Top][All Lists]

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

Re: [Nmh-workers] show: quotes in email addresses

From: David Levine
Subject: Re: [Nmh-workers] show: quotes in email addresses
Date: Wed, 24 Jun 2015 10:06:11 -0400

Anthony wrote:

> However, I don't want to see the quotes in show(1) output, just as I
> already don't have to type them in my outgoing messages. Can nmh be
> configured that way? 

That's easy to configure, by filtering (decoded) addresses through
the unquote format function,

    $ fmttest -address -format "%(unquote(decode{text}))" '"Anthony J. Bentley" 
    Anthony J. Bentley <address@hidden>

If you're using the default format files such as %nmhetcdir%/mhl.headers,
you could hack them.  Or better, customize your own and use -format.

> Should displaying the quotes be the default behavior?

I think that would be the best solution.  Any objection?


reply via email to

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