aboutsummaryrefslogtreecommitdiffstats
path: root/test/splitwht.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/splitwht.awk')
-rw-r--r--test/splitwht.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/splitwht.awk b/test/splitwht.awk
new file mode 100644
index 00000000..6163d72e
--- /dev/null
+++ b/test/splitwht.awk
@@ -0,0 +1,7 @@
+BEGIN {
+ str = "a b\t\tc d"
+ n = split(str, a, " ")
+ print n
+ m = split(str, b, / /)
+ print m
+}