Re: What do backquotes do?
- To: mutt-users@xxxxxxxx
- Subject: Re: What do backquotes do?
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sun, 12 Aug 2007 18:28:32 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=820J760EMe9z+lCRNOAXehhQb7s=; b=Id8X4zP7g0wJ70GGVVE2uWxVyYuBolY421fTdf5kZtxnnD4TqEbRrd1OJka+w4wja5vG/Z6LTSw6jCw+hPtKtsz+JzNH+A9uk4R2LUltJJC0oOPmfdh5XPnY2JTsBMBw6nWSbGLCNyHTPlhGiGrWTrx3ViyvVd0pFSvYYA3kvSA=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=fG6nsr+LdPEbrAIwu9T1mtbCr+Bvk46nCBHz5qF2rwnf2xW7EHAKWiDfb6R3MKQSzhCPf3gS89ocCg9vEQy3lcOlCK/KkmZQzfHIvs29JnWRgvnBT8kp6LWFT3kjPNBw2XFCygMHT5za5VUBlqqZcNRTPtaf3c/aVNbYvznietM=; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20070812211353.GB17523@xxxxxxxxxxxxxxxxxxxxxxxx>
- 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: <20070812211353.GB17523@xxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.13 (2006-08-11)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You know, you can *try* all these examples rather than mailing the
list.
On Sunday, August 12 at 11:13 PM, quoth Kai Grossjohann:
>For example, can I only use backquotes for the value? Or can I also
>use it for the name?
Yes and yes.
>| set foo=`echo bar`
>
>This is a somewhat silly way to set the variable foo to the value bar.
>But will the following line do the same?
>
>| set `echo foo`=bar
Yes.
>And what about this?
>
>| `echo set` foo=bar
Yes.
>And what if the shell command prints more than one line?
>
>| `echo foo; echo bar`
>
>Will the above do the same as the following two lines?
>
>| foo
>| bar
No.
~Kyle
- --
A lot of the truths we cling to depend greatly on our own point of
view.
-- Obi Wan Kenobi
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFGv5egBkIOoMqOI14RAiiZAKDmvp1RphNniuGAwjDoYvfcrNvrIgCg45zQ
pxBn3v2C7x2hT9/Ry9zd0YA=
=yMNi
-----END PGP SIGNATURE-----