2D Array Creation Question



Is there a better way to create this array?

I know I can do it like this
# Array [Name, Sufix, Fullname]
name=('workflow','application','process','adaptor','event','io')
sufix=('war','jar','jar','jar','jar','jar')
fullname('','','','','','','')

sudo update of array with additional information
for (a=0;a<$name[@];a++)
fullname[a] = `ls -t $name[a]*$sufix[a] | head -1`
done

Ideally I would like it to be like this as it is easier to read.
# Array [name, sufix, fullname]
'workflow', 'war', ''
'application', 'jar', ''
'process', 'jar', ''
'adaptor', 'jar', ''
'event', 'jar', ''
'io', 'jar', ''

Thanks
.



Relevant Pages

  • Re: 2D Array Creation Question
    ... # Array [Name, Sufix, Fullname] ... sudo update of array with additional information ... application jar '' ...
    (comp.unix.shell)
  • Re: 2D Array Creation Question
    ... # Array [Name, Sufix, Fullname] ... sudo update of array with additional information ... print name, sfx, $0 ...
    (comp.unix.shell)
  • Re: 2D Array Creation Question
    ... # Array [Name, Sufix, Fullname] ... sudo update of array with additional information ... (yeah I know i could have used awk, but this works and is easier for me to understand being an awk novice. ...
    (comp.unix.shell)
  • New to .NET - ArrayList Question
    ... each DirectoryInfo structure has a property called FullName. ... the CopyTo method of the ArrayList to get at the FullName property? ... inside the array. ...
    (microsoft.public.dotnet.languages.vb)