This example relies on gawk (GNU awk).