awk 'BEGIN { for (x = 0; x <= 10; x++) { if (x == 5 || x == 6) continue printf "%d ", x } print "" }'
awk 'BEGIN { break_num = 5 for (i = 0; i < 10; i++) { print i if (i == break_num) break } }'
awk 'BEGIN { while (a < 10) { print "- " " concatenation: " a a++; } }'
awk '{ i = 1 do { print $0 i++ } while (i <= 5) }' /etc/passwd
awk 'BEGIN { assoc["key1"] = "val1" assoc["key2"] = "val2" for (key in assoc) print assoc[key]; }'
awk 'BEGIN { for (argnum in ARGV) print ARGV[argnum]; }' a b c
awk 'BEGIN { for (i = 0; i < 10; i++) print "i=" i; }'
awk 'BEGIN { for (i = 1; i <= 100; i \*= 2) print i }'