xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/printfchar.awk (revision 74e12c43fe52f2c30f36e65a4d0fb0e8dfd7068a)
1BEGIN {
2	x[65]
3	for (i in x) {
4		# i should be a string
5		printf "%c\n", i	# should print 1st char of string
6	}
7}
8