On Fri, July 28, 2006 10:23, 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\\\`\``
>
So which one makes more sense:
echo `ls \`echo \\\`ls | grep elisp\\\`\``
Or
echo ${ls ${echo ${ls | grep elisp}}}
And what do you do with shell code that is everywhere like this:
echo ${SOMEVARNAME}_SUFFIX;
Perhaps we can detect if ${NAME} is a defined variable and treat it differently?
I can just see people wondering why ${ls} doesn't work the way they expect if
they
export ls="/path/to/my/linux/stuff"; A contrived example as well.
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/