Randy McMurchy wrote:
Matthew Burgess wrote these words on 08/17/05 14:33 CST:

 Unfortunately, one can't nest backticks,

I'm not so sure about that. From the Bash man page:

"Command  substitutions  may  be  nested.  To  nest when using the
backquoted form, escape the inner backquotes with backslashes."

Well, you learn something new every day. However, in order to prevent obfuscating what's going on, I think the mixture of backticks and $() expansion is the clearest option available. I'm wondering whether this is all just another form of painting bikesheds [1] though? :)

Matt.

[1] http://www.unixguide.net/freebsd/faq/16.19.shtml
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to