On Fri, Jul 28, 2006 at 10:23:24AM -0600, Byron Clark wrote:
> On 7/28/06, Charles Curley <[EMAIL PROTECTED]> wrote:
> >* One can nest $(), but not back ticks.
> 
> I dislike back ticks as much as the next guy, but this (contrived)
> nested back tick command works in bash:
> 
> echo `ls \`echo \\\`ls | grep elisp\\\`\``

Yep, that works, and the man page for BASH says that's the way to do
it. But it's uglier than a bill from a law office. So I will amend my
statement as follows:

* One can nest both $() and back ticks, but, as the latter requires
  escaping which can get ugly, the former is likely more readable.

> 
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgplqAGIKSok1.pgp
Description: PGP signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to