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

Re: Bash script problem [OT?]



Cam Hutchison <camh@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?

Curious,
Chris


Reply to: