[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any chance of multi-dimensional arrays?
From: |
Greg Wooledge |
Subject: |
Re: Any chance of multi-dimensional arrays? |
Date: |
Mon, 26 Nov 2012 08:45:23 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Sun, Nov 25, 2012 at 06:33:19AM +0100, Rene Herman wrote:
> I'm currently writing a larger bash script to manage my (ogg vorbis)
> music collection, including maintaining tags. Vorbis files can and
> (mine) often will contain repeated tags such as, say, "artist=David
> Crosby" and "artist=Graham Nash" and so on and as such, my "artist"
> variable is an array.
Sounds like what you actually want is an associative array of lists,
which is not something bash provides. You can mimic it using associative
arrays with specially mangled keys (bash 4.0 and up), but it is not a
native feature of the language.
- Any chance of multi-dimensional arrays?, Rene Herman, 2012/11/25
- Re: Any chance of multi-dimensional arrays?, Dennis Williamson, 2012/11/25
- Re: Any chance of multi-dimensional arrays?, Rene Herman, 2012/11/25
- Re: Any chance of multi-dimensional arrays?, Bob Proulx, 2012/11/25
- Re: Any chance of multi-dimensional arrays?, Steven W. Orr, 2012/11/25
- Re: Any chance of multi-dimensional arrays?, Rene Herman, 2012/11/26
- Re: Any chance of multi-dimensional arrays?, Eduardo Bustamante, 2012/11/26
- Re: Any chance of multi-dimensional arrays?, Rene Herman, 2012/11/26
- Message not available
- Re: Any chance of multi-dimensional arrays?, Aharon Robbins, 2012/11/26
Re: Any chance of multi-dimensional arrays?,
Greg Wooledge <=
Re: Any chance of multi-dimensional arrays?, Chet Ramey, 2012/11/26