On Mon, Oct 09, 2000 at 08:40:32PM +0300, Mikko Hnninen <[EMAIL PROTECTED]> wrote:
> Bob Bell <[EMAIL PROTECTED]> wrote on Mon, 09 Oct 2000:
> > I'm hoping someone can figure out how to properly quote my signature
> > setting.  Briefly, I want to set signature to a program, files in a
> > directory as arguments, and finally a '|' to read the output of the
> > program.
> 
> ...
> 
> > set signature='sigmaker.pl ~/.quotes/*|'
> 
> ...
> 
> > Any suggestions?
> 
> Try something like this:
> 
>   set signature="sigmaker.pl `echo ~/.quotes/*` |"

    The problem I have with the given approach and similar ones I have
tried is that mutt wants to treat part of the string as a variable.
Given what you stated above, I get an error "~/.quotes/*: unknown
variable".

    Looking into it a little more, I just found the problem.  I
neglected to say (b/c I *thought* it was irrelevant) that I was doing
this from a send-hook.  My original send-hook looked like:

send-hook . set signature="sigmaker.pl `echo ${HOME}/.quotes/*` |"

Now I'm using

send-hook . set signature=\"sigmaker.pl `echo ${HOME}/.quotes/*` |\"

which behaves as expected.

-- 
Bob

Reply via email to