Bug#712538: Bug in bash debian 7.0 : error when using array in any shell script

2013-06-17 Thread Jonathan Nieder
Hi José, joseph frail wrote: > Sorry by bothering you , but i don't know if is correct that sh in a fresh > installed system points to dash, and if not which package to report. The default shell changed from bash to dash in squeeze, if I remember correctly. The release notes have more details.

Bug#712538: closed by Helmut Grohne (Re: Bug#712538: Bug in bash debian 7.0 : error when using array in any shell script)

2013-06-17 Thread joseph frail
t; Debian Bug Tracking System > Contact ow...@bugs.debian.org with problems > > > -- Mensaje reenviado -- > From: Helmut Grohne > To: joseph frail , 712538-d...@bugs.debian.org > Cc: > Date: Mon, 17 Jun 2013 10:02:03 +0200 > Subject: Re: Bug#712538: Bug in bash debian

Bug#712538: Bug in bash debian 7.0 : error when using array in any shell script

2013-06-16 Thread joseph frail
$cat pru a[0]=1 echo ${a[0]} $sh pru pru: 1: pru: a[0]=1: not found pru: 2: pru: Bad substitution $bash --version GNU bash, versión 4.2.37(1)-release (i486-pc-linux-gnu) Copyright (C) 2011 Free Software Foundation, Inc. Licencia GPLv3+: GPL de GNU versión 3 o posterior < http://gnu.org/licenses/g

Bug#712538: Bug in bash debian 7.0 : error when using array in any shell script

2013-06-16 Thread Helmut Grohne
Control: tags -1 + unreproducible moreinfo On Mon, Jun 17, 2013 at 12:50:03AM +0200, joseph frail wrote: > a[0]=1 > echo ${a[0]} > > when executed bash would report an error on 2nd line Could you care to include the particular error message? I tried this with bash version 4.2+dfsg-1 and the sec

Bug#712538: Bug in bash debian 7.0 : error when using array in any shell script

2013-06-16 Thread joseph frail
Package: bash Version: 4.2+dfsg-0.1 In a shell script when there is any array bash report an error on the variable. For instance in file.sh : a[0]=1 echo ${a[0]} when executed bash would report an error on 2nd line I'm using debian 7.0 from version in dvd. It happened already when it was tes