Chris Davies <chris-use...@roaima.co.uk> writes:

>Cam Hutchison <c...@xdna.net> wrote:
>> BK_LIST=()

>> Append to the array with +=
>>  BK_LIST+="${PARAM}"

>This += syntax appears not to work with my version of bash
>("4.1.5(1)-release" from package bash 4.1-3). Instead I have
>to do this:

>  BK_LIST+=("${PARAM}")

>Was yours a typo, or is it something that now works in yet newer
>versions of the shell?

Sigh. Sorry, it was a typo. That explains why it did not work for the OP.
I though that was strange, since I've successfully used arrays to maintain
argument vectors with arguments containing spaces. I was so sure it worked
that I focussed on testing the wrong part.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1039.4f979796.52...@xionine.xdna.net

Reply via email to