summaryrefslogtreecommitdiffstats
path: root/contrib/awk/test/splitargv.ok
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/awk/test/splitargv.ok')
-rw-r--r--contrib/awk/test/splitargv.ok7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/awk/test/splitargv.ok b/contrib/awk/test/splitargv.ok
new file mode 100644
index 0000000..10886ef
--- /dev/null
+++ b/contrib/awk/test/splitargv.ok
@@ -0,0 +1,7 @@
+BEGIN {
+ for (idx = 1; idx < ARGC; idx++)
+ split(ARGV[idx], temp, ".");
+ }
+ {
+ print $0;
+ }
OpenPOWER on IntegriCloud