Re: [exim] Quote problem with ${run}

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Phil Pennock
Date:  
À: Stephan Helma
CC: exim-users
Sujet: Re: [exim] Quote problem with ${run}
On 2013-02-07 at 19:22 +0000, Stephan Helma wrote:
> ${run {'/bin/date' '--date=2013-02-07' \
> '+"%A, %-d %B"'}{$value}{$value}}
>
> works. Unfortunately the quoting of each argument is not mentioned in
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html


It's not needed.

Seriously, what's wrong with just moving the double-quotes, as I
suggested?

${run {/bin/date --date=2013-02-07 "+%A, %-d %B"}{$value}{$value}}

-Phil