On Thu, Apr 18, 2002 at 09:10:34PM +0200, Sven Guckes wrote: > * Bernard Massot <[EMAIL PROTECTED]> [2002-04-18 13:20]: > > I've got a prb with quoting, in my .muttrc I wrote: > > > > send-hook [EMAIL PROTECTED] \ > > "set attribution = \"D'`if [ \`date '+%w'\` = 1 ];then echo al;else echo > > ar;fi` %d, %n en deus skrivet:\"" > > and when I launch mutt, I got > > "sh: [: too many arguments" > > > But when I type ... it works : > > $ echo "set attribution = [...] > > set attribution = "D'ar %d," > > try this: set attribution=`script` > im mutt, of course. good idea but I need a way to give the script the date of the mail if I launch it with %d, the script doesn't see the date but the string "%d"
> > anyway, words in the attribution are superfluous. off course but making mutt doing complicated things is very fun ;) > all that it takes are name+address: > set attribution="* %n <%a>:" > > the '*' and ':' are simply used to > align the name with the quoted text > and make this line unique (which is > quite helpful with header editing). > > PS: iab prb problem > > Sven -- Bernard Massot
msg27394/pgp00000.pgp
Description: PGP signature