help-bash
[Top][All Lists]
Advanced

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

[Help-bash] use variable as array name


From: Phillip Sz
Subject: [Help-bash] use variable as array name
Date: Fri, 02 Jan 2015 20:15:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Hi,

I want to use a variable as an array name, but I dont see a way to do
this. For example:

namelength="$((address@hidden -1))"

and now I want to replace "array" with for example $1.

If you also thing that's not possible, should I write a mail to
address@hidden or where else should feature requests go?

Thanks,

Phillip

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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