The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-01-2008
user_prady user_prady is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 163
Awk multidimensional Array

Hello Experts,,

Can anybody give me a brief idea what is following bold letter statement is for!!
what is the term called so that I can google for it..

It seems to be an array inside another array..


Code:
awk'
        /TXADDR/ { txaddr=$NF }  ##understood 
        /TXDATA/ { txdata[txaddr,++txindex[txaddr]]=$NF } ##not understood 
' infile

regards,
user_prady