On Thu, 30 Mar 2006, Ruud H.G. van Tol wrote:
Udi Mottelo schreef:
| formail -i "X-Keywords: \$KW"
That doesn't do what you think it does.
The pipe command? or all the message?
With the \, you fixate the $, so it is equivalent to:
| formail -i 'X-Keywords: $KW'
(notice the single quotes)
But '$' is not in the default SHELLMETAS, so $KW is never expanded.
Without the '\' it should work, because you let procmail expand $KW.
| formail -i "X-Keywords: $KW"
Maybe you meant "$\KW"?
I wander too. Just cut n paste from Nancy's recipe
and I assumed like you - same typo, but, I was afraid
that maybe I missed something. So, thanks for the note.
I guess she will take care because she read this mailinglist.
procmail mailing list Procmail homepage: http://www.procmail.org/