Alas! Bernard Massot spake thus: > > Easy fix. In your muttrc do this: "set attribution=`script %d`", and > > then in the script, $* will have the date of the mail in it. > that's exactly what I've done but the script sees the litteral string "%d" > instead of the date ! > my script is called like that: > «/home/bernard/.mutt/deiziat.sh %d» > and not «/home/bernard/.mutt/deiziat.sh some_date»
Ok, I've got it ;) 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. I forgot why you want to pass the date to the script, though. What's so special about your attribution that it can't be a simple "%n wrote:"? -- Rob 'Feztaa' Park [EMAIL PROTECTED] -- The way to a man's stomach is through his esophagus.
msg27435/pgp00000.pgp
Description: PGP signature