aboutsummaryrefslogtreecommitdiffstats
path: root/test/argcasfile.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-02-13 21:51:50 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-02-13 21:51:50 +0200
commit4c82793760b88c55ca18cdbdfb819c3ea98cfa91 (patch)
tree6275eb83725f0fe7b0fd802365f20d662936975c /test/argcasfile.awk
parentbda8b5661127de0c16343fdfb8e4060803503d72 (diff)
downloadegawk-4c82793760b88c55ca18cdbdfb819c3ea98cfa91.tar.gz
egawk-4c82793760b88c55ca18cdbdfb819c3ea98cfa91.tar.bz2
egawk-4c82793760b88c55ca18cdbdfb819c3ea98cfa91.zip
Fix assigning to ARGC on command line and add test.
Diffstat (limited to 'test/argcasfile.awk')
-rw-r--r--test/argcasfile.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/argcasfile.awk b/test/argcasfile.awk
new file mode 100644
index 00000000..489f25ca
--- /dev/null
+++ b/test/argcasfile.awk
@@ -0,0 +1 @@
+{ for (i in ARGV) print i,ARGV[i] }