[PATCH] aiaiai-email-lda: use the References mail header

Artem Bityutskiy dedekind1 at gmail.com
Thu Nov 20 01:40:22 PST 2014

On Fri, 2014-11-07 at 21:49 +0100, Robert Jarzmik wrote:
> Robert Jarzmik <robert.jarzmik at free.fr> writes:
> > Artem Bityutskiy <dedekind1 at gmail.com> writes:
> > Well, I tried, this doesn't work anymore. The mail reason I think is that for
> > each sentence such as :
> > to="$(formail -c -z -x "To:" < $mail)"
> >                                 \-> here $mail is actually quoted I think.
> Actually if I understand correctly the man page:
> Command Substitution:
>         If the substitution appears within double quotes, word splitting and
>         pathname expansion are not performed on the results.
> That would mean $mail doesn't need quoting.

The $(blah) construct calls the subshell. Think about it as calling
another shell which runs 'blah'. The quotes around "$()" do not
"penetrate" to the sub-shell.

More information about the aiaiai mailing list