From: Jonathan Callen <abcd@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: FIXED 3D
Date: Thu, 08 Oct 2009 22:22:05 -0400 [thread overview]
Message-ID: <4ACE9E4D.9080006@gentoo.org> (raw)
In-Reply-To: <20091008193301.4cd6baf5@zaphod.digimed.co.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neil Bothwick wrote:
> Note you can also nest commands when using $(), which you can't do with
> backticks.
You can nest commands with ``, it's just less intuitive; each of the
following are equivalent:
echo $(echo $(echo $(echo $(echo foo))))
echo $(echo $(echo $(echo `echo foo`)))
echo $(echo $(echo `echo \`echo foo\``))
echo $(echo `echo \`echo \\\`echo foo\\\`\``)
echo `echo \`echo \\\`echo \\\\\\\`echo foo\\\\\\\`\\\`\``
Yes, that is a *lot* of backslashes in the last one, which is why no one
nests that far with `` (personally, I always use $() instead of ``, but
that's mainly because I switched my escape for GNU screen from ^A to `).
- --
Jonathan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrOnkwACgkQOypDUo0oQOqo4QCaA5iPSgyefVeK/clv3Tmb4bZh
QHcAnRbc/wufJ7NZlVfy7f3sACQm1ZoY
=ewZb
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2009-10-09 2:22 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 16:49 [gentoo-user] Broken 3D James
2009-10-07 19:26 ` [gentoo-user] " walt
2009-10-07 19:30 ` [gentoo-user] " James Ausmus
2009-10-07 21:22 ` Volker Armin Hemmann
2009-10-08 3:38 ` Jesús Guerrero
2009-10-08 15:28 ` [gentoo-user] Re: FIXED 3D James
2009-10-08 15:35 ` Jesús Guerrero
2009-10-08 15:53 ` James
2009-10-08 15:54 ` Nikos Chantziaras
2009-10-08 18:33 ` Neil Bothwick
2009-10-08 19:14 ` Alan McKinnon
2009-10-08 19:19 ` James Ausmus
2009-10-08 19:27 ` Nikos Chantziaras
2009-10-08 20:02 ` Alan McKinnon
2009-10-08 20:09 ` Nikos Chantziaras
2009-10-09 16:12 ` Alex Schuster
2009-10-08 19:34 ` Nikos Chantziaras
2009-10-08 21:21 ` Neil Bothwick
2009-10-08 22:43 ` Jesús Guerrero
2009-10-09 2:22 ` Jonathan Callen [this message]
2009-10-09 2:56 ` Jesús Guerrero
2009-10-09 8:13 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ACE9E4D.9080006@gentoo.org \
--to=abcd@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox