nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-


From: David Levine
Subject: Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7
Date: Sun, 14 Jan 2018 14:52:39 -0500

Steven wrote:

> >I'm not sure there's a good way to fix this.  Maybe this?
> >
> >   'SEAO - Résultats d'"'"'ouverture (002).pdf'
>
> I believe that's the right thing to do, and the only real alternative
> to removing the ' characters altogether.

If you want to try the attached patch to mhshowsbr.c, it works
for me with:

    mhshow-show-application/pdf: %pmime_helper %F %s "`fmttest -raw -format 
'%(decode{text})' '%{name}'`"

It quotes the name containing a single quote as shown above.

As far as whether this is the right approach, I'd like to hear from
others.

David



reply via email to

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