diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-06-13 18:39:10 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-06-13 18:39:10 -0400 |
commit | 18c6b0f85db6683f1d0789e800acfdd35da3ce07 (patch) | |
tree | 6f2bd19e71ca42fb2a784451b9486b652fc00090 /test/printfchar.awk | |
parent | 0e02913c51b1d737b4d283901e22c57b954e65ae (diff) | |
download | egawk-18c6b0f85db6683f1d0789e800acfdd35da3ce07.tar.gz egawk-18c6b0f85db6683f1d0789e800acfdd35da3ce07.tar.bz2 egawk-18c6b0f85db6683f1d0789e800acfdd35da3ce07.zip |
Fix usage of scalar type flag bits and fix some bugs in numeric conversions and lint checks.
Diffstat (limited to 'test/printfchar.awk')
-rw-r--r-- | test/printfchar.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/printfchar.awk b/test/printfchar.awk new file mode 100644 index 00000000..9e703c31 --- /dev/null +++ b/test/printfchar.awk @@ -0,0 +1,7 @@ +BEGIN { + x[65] + for (i in x) { + # i should be a string + printf "%c\n", i # should print 1st char of string + } +} |