aboutsummaryrefslogtreecommitdiffstats
path: root/test/rstest1.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/rstest1.awk')
-rw-r--r--test/rstest1.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/rstest1.awk b/test/rstest1.awk
new file mode 100644
index 00000000..3eb88366
--- /dev/null
+++ b/test/rstest1.awk
@@ -0,0 +1,7 @@
+BEGIN {
+ RS = ""
+ FS = ":"
+ s = "a:b\nc:d"
+ print split(s,a)
+ print length(a[2])
+}