aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/rsnulw.awk7
-rw-r--r--test/rsnulw.in1
-rw-r--r--test/rsnulw.ok5
3 files changed, 13 insertions, 0 deletions
diff --git a/test/rsnulw.awk b/test/rsnulw.awk
new file mode 100644
index 00000000..c17780a8
--- /dev/null
+++ b/test/rsnulw.awk
@@ -0,0 +1,7 @@
+BEGIN { RS = "" }
+
+{
+ print NF, "<" $0 ":" RT ">"
+ for (i = 1; i <= NF; i++)
+ print i, "[" $i "]"
+}
diff --git a/test/rsnulw.in b/test/rsnulw.in
new file mode 100644
index 00000000..8b85492e
--- /dev/null
+++ b/test/rsnulw.in
@@ -0,0 +1 @@
+ a b c
diff --git a/test/rsnulw.ok b/test/rsnulw.ok
new file mode 100644
index 00000000..692f16e3
--- /dev/null
+++ b/test/rsnulw.ok
@@ -0,0 +1,5 @@
+3 < a b c :
+>
+1 [a]
+2 [b]
+3 [c]