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

Re: use script output as regex pattern in folder-fook



Hi,

* Steve S wrote:

I have tried

   set my_muttdir=$HOME/.mutt
   folder-hook `$my_muttdir/script.sh` ...

Here, Mutt doesn't seem to expand $my_muttdir before handing the command over
to the shell. Is there a trick to do that?

It doesn't seem so. At least for interactive shell-escape function it's documented that these variables aren't expanded... and I assume the same is true for backtick expansion.

Rocco