aboutsummaryrefslogtreecommitdiffstats
path: root/test/modifiers.sh
diff options
context:
space:
mode:
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