<<< Date Index >>>     <<< Thread Index >>>

Re: Sourcing Output of Script



* On 2005.09.25, in <20050925190908.GB4086@xxxxxxxxxxxxxxxxxxxxxxxx>,
*       "Gary Johnson" <garyjohn@xxxxxxxxxxxxxxx> wrote:
> 
> 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.

Yes, you can use piped output anywhere that a file name is used.  This
is often cleaner and safer than using backticks, so it's a good rule to
use it any time you can.

-- 
 -D.    dgc@xxxxxxxxxxxx        NSIT    University of Chicago