AWK Medium · Lesson 5

Arrays of arrays: a[i][j], isarray and recursion

Build true nested arrays in gawk with a[i][j], count and total subarrays, delete leaves or whole branches, and walk any depth recursively.

Lessons · AWK Medium · Lesson 5 of 10

Arrays of arrays: a[i][j], isarray and recursion

Build true nested arrays in gawk with a[i][j], count and total subarrays, delete leaves or whole branches, and walk any depth recursively.

Illustration for AWK
Build true nested arrays in gawk with a[i][j], count and total subarrays, delete leaves or whole branches, and walk any depth recursively.