Quoting Rocco Rutte <[EMAIL PROTECTED]> [Mar 26, 2002 14:55]:
> The problem is the following: if I would type fast enough to
> send a few dozen mails a minute, I wanted to be abled to
> include the date and time in the file I specify by the 'record'
> variable. Using `date`. But `date` is only expanded on startup.
> Pipes may not be used. So that all mails would end up in the
> same file the with time mutt read the config file.  And
> permanently re-reading the config file is ugly.

I think if you \ the backticks, they will be evaluated when the
variable is read, and not when the config is read.  So, instead
of:

  set record="`date +'%Y-%m-%d-%H:%M'`"

use something like:

  set record="\`date +'%Y-%m-%d-%H:%M'\`"

Untested.  :)

(darren)

-- 
All is fear in love and war.

Reply via email to