gawk: Arrays

1 
1 8 Arrays in 'awk'
1 *****************
1 
1 An "array" is a table of values called "elements".  The elements of an
1 array are distinguished by their "indices".  Indices may be either
1 numbers or strings.
1 
1    This major node describes how arrays work in 'awk', how to use array
1 elements, how to scan through every element in an array, and how to
1 remove array elements.  It also describes how 'awk' simulates
1 multidimensional arrays, as well as some of the less obvious points
1 about array usage.  The major node moves on to discuss 'gawk''s facility
1 for sorting arrays, and ends with a brief description of 'gawk''s
1 ability to support true arrays of arrays.
1 

Menu