procmail
[Top] [All Lists]

Re: for John Hardin's wish list

1998-08-24 21:51:13
Gee, do I get to be first to point out recipe errors using the
not-yet-implemented features of 3.12-pre-pre1?  :-)

At 02:04 PM 8/24/98 -0400, Edward J. Sabol wrote:
[snip]
Another example:

   :0
   * somecondition
   { H = "$HX-Foo-Header: blah
"
   }

I see two problems here... first, since $H ends with two newlines,
this would actually put a line at the start of the body.  Second,
that line would probably be "-Foo-Header: blah" since variable HX
is probably unset.

The second is an easy fix anyway...
    { H = "$H""X-Foo-Header: blah
    "
or
    { H = "${H}X-Foo-Header: blah
    "

Cheers,
Stan

<Prev in Thread] Current Thread [Next in Thread>