Alas! Cameron Simpson spake thus:
> | I'm pretty sure I've seen this done somewhere, but I can't find it.
>
> Well, it's indirect, but you could wrap mutt in a script which said:
>
> #!/bin/sh
> ( cd $HOME/mail
> when=`date +%Y-%m`
> for mbox in *
> do echo "mbox-hook =$mbox \"=archives/$when-$mbox\""
> done >$HOME/.muttrc-auto
> )
> exec real-mutt-program ${1+"$@"}
>
> and just source .muttrc-auto from .muttrc. Ugly but would work.
Interesting idea. I'm sure I've seen a better way to do it, though.
Perhaps I'll have to search the archives :)
--
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"Logic doesn't apply to the real world."
-- Marvin Minsky
msg22257/pgp00000.pgp
Description: PGP signature
