aboutsummaryrefslogtreecommitdiffstats
path: root/test/hex2.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-06-01 11:38:52 -0400
committerArnold D. Robbins <arnold@skeeve.com>2016-06-01 11:38:52 -0400
commit9867841a4767347cd89c9fd0127db3c7eaf943e6 (patch)
tree4b01081a570ea6666823b54ef912630f1e3cdfe8 /test/hex2.awk
parent88c6afdf1c83a7ea51225fbb173d910533c51bb0 (diff)
downloadegawk-9867841a4767347cd89c9fd0127db3c7eaf943e6.tar.gz
egawk-9867841a4767347cd89c9fd0127db3c7eaf943e6.tar.bz2
egawk-9867841a4767347cd89c9fd0127db3c7eaf943e6.zip
Disallow negative hex numbers in input data.
Diffstat (limited to 'test/hex2.awk')
-rw-r--r--test/hex2.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/hex2.awk b/test/hex2.awk
new file mode 100644
index 00000000..49c6203d
--- /dev/null
+++ b/test/hex2.awk
@@ -0,0 +1 @@
+{ print $1 + 7}