diff options
Diffstat (limited to 'contrib/awk/test/splitwht.awk')
-rw-r--r-- | contrib/awk/test/splitwht.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/awk/test/splitwht.awk b/contrib/awk/test/splitwht.awk new file mode 100644 index 0000000..6163d72 --- /dev/null +++ b/contrib/awk/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 +} |