Alas! Gerhard Siegesmund spake thus:
> > > > > You could put that in a script such as the one I've attached, and run
> > > > > it from .muttrc like this:
> > > > > source `$HOME/bin/mutt-prep folders=$HOME/mail`
> > > Thanks for your help, guys, this is what I've come up with:
> > > my .muttrc contains this line:
> > > source `~/bin/mbox-hooks`
> > This has been a great discussion.  I didn't know mutt could source the
> > output of a command.
> 
> Which version of mutt does this? I am using 1.2.5.1i and I just get an
> error trying to source the output of a command. TIA

I'm fairly sure that mutt will only source the output of a command if
the output of a command is a filename for mutt to source :)

The .muttrc is fairly robust. You can put almost any shell command into
backticks (``), and it will be as though the output of that command is
actually in the .muttrc file. This is why mutt is so much better than
pine :)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"The perfect computer has been developed. You just feed in your
problems and they never come out again."
                -- Al Goodman

Attachment: msg22333/pgp00000.pgp
Description: PGP signature

Reply via email to