![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| split and making an array inside another array | dcfargo | Shell Programming and Scripting | 2 | 08-06-2008 10:07 AM |
| Array inside an array | manas_ranjan | UNIX for Advanced & Expert Users | 5 | 06-10-2008 02:25 PM |
| multidimensional array in perl | prkfriryce | Shell Programming and Scripting | 9 | 12-01-2007 04:33 PM |
| create array holding characters from sring then echo array. | rorey_breaker | Shell Programming and Scripting | 5 | 09-28-2007 08:42 AM |
| multidimensional arrays | leslie02 | Shell Programming and Scripting | 2 | 07-13-2007 11:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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
user_prady |
|
||||
|
Answered here:
need a logic to start with awk/ sh In short, yes, it is using the contents of one array value as an index to another array. |
| Sponsored Links | ||
|
|