bug-bash
[Top][All Lists]
Advanced

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

Re: Syntax Question...


From: Pierre Gaston
Subject: Re: Syntax Question...
Date: Sun, 14 Aug 2011 08:56:01 +0300

On Sun, Aug 14, 2011 at 7:51 AM, Linda Walsh <address@hidden> wrote:
>
>
>
> ` Dennis Williamson wrote:
>>
>> On Sat, Aug 13, 2011 at 6:41 PM, Linda Walsh <address@hidden> wrote:
>>
>>>
>>> I have to use 'indirect' syntax:     ${!name}
>>> But that doesn't seem to play well with array syntax:
>>> ${#${!name}[*]}    #  bash: ${#${!name}[*]}: bad substitution
>>>
>>> What syntax would I use for this?
>>>
>>>
>>
>> Please read BashFAQ/006: http://mywiki.wooledge.org/BashFAQ/006
>>
>
> I looked at the page....read every section that was >basic & some basic...
>
> nothing about using indirect variables with arrays... (let alone assigning
> to them)..
lies



reply via email to

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