Re: Any chance of multi-dimensional arrays?

2012-11-25 Thread Dennis Williamson
On Nov 25, 2012 1:37 AM, "Rene Herman" wrote: > > Good day. > > I know that bash arrays are 1 dimensional -- but are there any plans for providing multi-dimensional arrays? > > I'm currently writing a larger bash script to manage my (ogg vorbis) music collection, including maintaining tags. Vorbis

Re: Any chance of multi-dimensional arrays?

2012-11-25 Thread Rene Herman
On 11/25/2012 03:19 PM, Dennis Williamson wrote: Why don't you write it in Python? It will be much easier. You can use advanced data structures and can even store your data in a database such as MySQL. Execution will be much faster, too. It won't be. Firstly since I'm not all that familiar wit

Re: Any chance of multi-dimensional arrays?

2012-11-25 Thread Bob Proulx
Rene Herman wrote: > All I want additionally is multi-dimensional arrays... There are various naming conventions and schemes to simulate multi-dimensional arrays using single dimension arrays. Since you want to continue with the shell and the shell has not (yet) provided multi-dimensional arrays

Re: Any chance of multi-dimensional arrays?

2012-11-25 Thread Steven W. Orr
On 11/25/12 14:54, quoth Bob Proulx: Rene Herman wrote: All I want additionally is multi-dimensional arrays... There are various naming conventions and schemes to simulate multi-dimensional arrays using single dimension arrays. Since you want to continue with the shell and the shell has not (

Re: Any chance of multi-dimensional arrays?

2012-11-25 Thread Rene Herman
On 11/25/2012 08:54 PM, Bob Proulx wrote: There are various naming conventions and schemes to simulate multi-dimensional arrays using single dimension arrays. Since you want to continue with the shell and the shell has not (yet) provided multi-dimensional arrays then the only option for you is

Re: Any chance of multi-dimensional arrays?

2012-11-25 Thread Eduardo Bustamante
Hey, calm down. People are just trying to help. Also, this question has already been asked previously. Please read this: http://lists.gnu.org/archive/html/bug-bash/2011-09/msg00062.html (To put you in context, Chet Ramey is the current maintainer of bash). It's not really an important feature.

Re: Any chance of multi-dimensional arrays?

2012-11-25 Thread Rene Herman
On 11/26/2012 06:51 AM, Eduardo Bustamante wrote: Hey, calm down. People are just trying to help. Also, this question has already been asked previously. Please read this: http://lists.gnu.org/archive/html/bug-bash/2011-09/msg00062.html (To put you in context, Chet Ramey is the current maintain