Rob, et al -- ...and then Feztaa said... % % Alas! Bernard Massot spake thus: % > > Easy fix. In your muttrc do this: "set attribution=`script %d`", and ... % % Ok, I've got it ;)
Are you sure? :-)
%
% The set attribution thing is expanded when mutt starts, not when the
% message is sent. That's why %d is being passed to the script: mutt
% doesn't know what date, because mutt doesn't know what message.
%
% As far as I know, it's not actually possible to pass the date to the
% script because the script is run when mutt starts, not for every
% message.
*If* you can pass %d at all (and I don't know that you can), then you
might look at a send-hook and wrapping your command in single quotes ('')
instead of double quotes ("") to protect the contents from evaluation
until calling time.
HTH & HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg27445/pgp00000.pgp
Description: PGP signature
