summaryrefslogtreecommitdiff
path: root/test/argtest.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/argtest.awk')
-rw-r--r--test/argtest.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/argtest.awk b/test/argtest.awk
new file mode 100644
index 00000000..e7a1145d
--- /dev/null
+++ b/test/argtest.awk
@@ -0,0 +1,4 @@
+BEGIN {
+ for (i = 0; i < ARGC; i++)
+ printf("ARGV[%d] = %s\n", i, ARGV[i])
+}