Re: Sourcing Output of Script
On 2005-09-25, Nicolas Rachinsky <mutt-users-0@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> * Alan Gutierrez <alan-mutt-user@xxxxxxxxx> [2005-09-25 03:05 -0400]:
> > Is it possible to source the output of a script in repsonse to a
> > folder hook?
>
> It is.
>
> folder-hook =announce$ '`~/.mutt/clean_hook announce`'
I think you can also do this:
folder-hook =announce$ 'source "~/.mutt/clean_hook announce|"'
I haven't tested that particular example, but I've done similar
things with replacing a file name by a script name with '|' at the
end.
HTH,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA