aboutsummaryrefslogtreecommitdiffstats
path: root/test/modifiers.sh
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-01-07 22:09:04 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-01-07 22:09:04 +0200
commit62a83e256f4db1576a0652780810a70d26ae6136 (patch)
treed00686f2c38bd2ced105e2088afb02e01f650fdb /test/modifiers.sh
parente33ab738045b82db7b449e92c8633ef1d44bb8a7 (diff)
downloadegawk-62a83e256f4db1576a0652780810a70d26ae6136.tar.gz
egawk-62a83e256f4db1576a0652780810a70d26ae6136.tar.bz2
egawk-62a83e256f4db1576a0652780810a70d26ae6136.zip
And add additional test files.
Diffstat (limited to 'test/modifiers.sh')
-rwxr-xr-xtest/modifiers.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/modifiers.sh b/test/modifiers.sh
new file mode 100755
index 00000000..07b95686
--- /dev/null
+++ b/test/modifiers.sh
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+AWK=${AWK:-../gawk}
+for modifier in h l L j t z
+do
+ $AWK -v let=$modifier --posix --lint 'BEGIN { printf "%" let "u\n", 12 }'
+done
+exit 0