[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
- Re: [Nmh-workers] switches and smatch, (continued)
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, Ralph Corderoy, 2018/01/18
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/18
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/18
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/18
- Re: [Nmh-workers] rcvdist with non-default port, Ken Hornstein, 2018/01/18
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7,
David Levine <=
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ralph Corderoy, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ken Hornstein, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Andy Bradford, 2018/01/20