Allard Welter wrote:
>
> info bash -> search "array" and we find:
>
> {quote}
> Any element of an array may be referenced using
> `${name['SUBSCRIPT`]}'.
> {/quote}
Yes, thanks Allard. That too...do not put a '$' character in front of
the index variable when obtaining the value. I'm still not sure about
when assigning, but it appears only to work with the '$' during assignment.
I've yet to find an example where they are setup the way that I intend
to use them however....every example I've found is of the type:
name=(a b c d e f...)
Where the assignments are in the script....I need very large string
values from an outside source, but this is working well.
Thanks again.
-- DJ Lucas
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page