Challenge the talent inside you, participate in Animate 2024!     Click here for details.

MultiDimensional Array in awk - English

1894 visits



Outline:

Definition of multidimensional array in awk Element is identified by a sequence of multiple indices Concatenated into a single string, with a separator between them Create 2 by 2 multidimensional array in awk Create the transpose of a 2 by 2 matrix Scan the multidimensional array Combine the for loop with the split function Syntax of the for loop Syntax of the split function