AWK · Lesson 6

Associative arrays, for-in and delete

Count and total by key with associative arrays, test keys with in, loop with for-in, sort output through a pipe and remove elements with delete.

Lessons · AWK · Lesson 6 of 10

Associative arrays, for-in and delete

Count and total by key with associative arrays, test keys with in, loop with for-in, sort output through a pipe and remove elements with delete.

Illustration for AWK
Count and total by key with associative arrays, test keys with in, loop with for-in, sort output through a pipe and remove elements with delete.