help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] array indirection


From: Bill Gradwohl
Subject: Re: [Help-bash] array indirection
Date: Fri, 4 May 2012 18:57:14 -0600

On Fri, May 4, 2012 at 6:27 PM, John Kearney <address@hidden> wrote:

AFAIK this syntax ${!variableName[$x]} isn't supported.

I'm guessing the reason the first one worked is because
${!variableName[0]} is a special case because
${!variableName[0]} is a synonym for ${!variableName}
and ${!variableName} is supported.


 
I know its not supported. That's why when it slightly worked it made no sense.

Your explanation is plausible.

Thank You

 
--
Bill Gradwohl


reply via email to

[Prev in Thread] Current Thread [Next in Thread]