hi,

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 «echo "set attribution = \"D'`if [ \`date '+%w'\` = 1 ];then 
echo al;else echo ar;fi` %d,\""» it works :
$ echo "set attribution = [...] 
set attribution = "D'ar %d,"
$
Do I have to add other backquotes ? I don't see where's the mistake.
-- 
Bernard Massot

Attachment: msg27347/pgp00000.pgp
Description: PGP signature

Reply via email to