Plan 9 from Bell Labs’s /usr/web/sources/contrib/quanstro/testawk
BEGIN{ s = "01234567890"; printf "%x\n", 4215866817. g = 1. # delayed fpe printf "%08x", 4215866817. print substr(s, 4215866817., 1) s = substr(s, 1, 4215866817.) g= 1. # delayed fpe printf utf(4215866817.); g= 1. # delayed fpe }