gawk: Array Manipulation
1
1 16.4.11 Array Manipulation
1 --------------------------
1
11 The primary data structure(1) in 'awk' is the associative array (⇒
Arrays). Extensions need to be able to manipulate 'awk' arrays. The
1 API provides a number of data structures for working with arrays,
1 functions for working with individual elements, and functions for
1 working with arrays as a whole. This includes the ability to "flatten"
1 an array so that it is easy for C code to traverse every element in an
1 array. The array data structures integrate nicely with the data
1 structures for values to make it easy to both work with and create true
1 arrays of arrays (⇒General Data Types).
1
Menu