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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Pennock
Dátum:  
Címzett: Stephan Helma
CC: exim-users
Tárgy: 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