Re: set up multiple account
- To: mutt-users@xxxxxxxx
- Subject: Re: set up multiple account
- From: bill lam <cbill.lam@xxxxxxxxx>
- Date: Sat, 14 Feb 2009 14:50:05 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=WKiuzCXNKPgWS7W4vCmYhwFAs0HGiSP2QpQmObWuqk8=; b=Bmz38mp6Drh6EtuKqYl0DfEuy6euqKXunEqMjx6DhkISOKkuRVz4aX0/81F89NDfpg N5LQlMzB47e+0Jl6jPQIgOCKWUbwCW3QEZE0VqOPBHyamdh17V1s6qaGWDT5chcjeEYF f+QS+7CsJwTiIfRaMC0N08bzn5T59HXTURlKs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=RY9S8ajrupiPEaiUhc+0E9WU5XbrYnLIl0Y9vqhY4lQCOkWOMfj3QXizqwa72xB232 Xe+4XklhpmRw9bhMIr87EKzEwI7ee65RpDX/j3/lRK76ytjc2t+dhvSKjIRQK4gGqSW4 1WteKuUrV668S2jSxA9tLWzjjzTY+ccVB1uug=
- In-reply-to: <1234548453.b55c7@xxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20090212110406.GA7314@b2j> <1234465906.d65a4@xxxxxxxxxxxxxxxxxxxxxx> <20090213161743.GA7512@b2j> <1234548453.b55c7@xxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-01-27)
On Fri, 13 Feb 2009, Ed Blackman wrote:
> Do this, inside mutt type:
>
> :`echo 'set my_test=foo'`
>
> and then
>
> :set ?my_test
This example worked, but I might find the reason why it didn't work
in general. I saved the following script as mutt-test and put a line
`mutt-test bar` in my .muttrc
#!/bin/sh
email="$1"
cat <<EOF
set my_test1=${email}
set my_test2=${email}
set my_test3=cat
EOF
set ?my_test1 does give the expected answer but not for my_test2 and
my_test3 (unknown variable). My conjecture is the that back-tick
trick only work for the first line for output and it will ignore the
rest of lines.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩222 秦韜玉 貧女
蓬門未識綺羅香 擬託良媒益自傷 誰愛風流高格調 共憐時世儉梳妝
敢將十指誇鍼巧 不把雙眉鬥畫長 苦恨年年壓金線 為他人作嫁衣裳