* 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," shell parsing is different from mutt's parsing. what else is new? try this: set attribution=`script` im mutt, of course. anyway, words in the attribution are superfluous. 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