* David T-G <[EMAIL PROTECTED]> [2001-10-20, 07:46 -0400]: > Byrial -- > > ...and then Byrial Jensen said... > % On Fri, Oct 19, 2001 at 12:50:27 -0400, Matej Cepl wrote: > % > > % > .muttrc). Have anybody an idea, how could I use predefined variable in > % > .muttrc? > % > % I wrote a patch to Mutt 1.3.2 last year which could expand > % $$variable or $${variable} in Mutt commands. It was two $ > Could you put it up on your web site or post it here, preferably *grin* > after tweaking it to 1.3.23 or so?
I found it/them at: http://groups.yahoo.com/group/mutt-dev/message/7368 http://groups.yahoo.com/group/mutt-dev/message/7331 The first gives variable expansion but relies on the other which also gives an if statement of the form: if variable operator value then-command [else-command] Unfortunately the if-statement patch is older.. would be nice if that one used the $$muttvariable notation such that also $environvariable could be used in conditions. -- Ulf