aboutsummaryrefslogtreecommitdiffstats
path: root/test/rsnulw.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-04-02 09:23:39 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-04-02 09:23:39 +0300
commit6e69b1c42ef002c41a5807f5886f78767881bfca (patch)
treef1c29baba2fb3443c5358600efc042570414b13e /test/rsnulw.awk
parenta80fc809a83b8706b6b431ef1b3f1279e7af17f7 (diff)
downloadegawk-6e69b1c42ef002c41a5807f5886f78767881bfca.tar.gz
egawk-6e69b1c42ef002c41a5807f5886f78767881bfca.tar.bz2
egawk-6e69b1c42ef002c41a5807f5886f78767881bfca.zip
Add new test files.
Diffstat (limited to 'test/rsnulw.awk')
-rw-r--r--test/rsnulw.awk7
1 files changed, 7 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 "]"
+}