github.com/benhoyt/goawk@v1.8.1/testdata/gawk/printfchar.awk (about) 1 BEGIN { 2 x[65] = 1; 3 for (i in x) { 4 # i should be a string 5 printf "%c\n", i # should print 1st char of string 6 } 7 }