diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-04-02 09:23:39 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-04-02 09:23:39 +0300 |
commit | 6e69b1c42ef002c41a5807f5886f78767881bfca (patch) | |
tree | f1c29baba2fb3443c5358600efc042570414b13e /test | |
parent | a80fc809a83b8706b6b431ef1b3f1279e7af17f7 (diff) | |
download | egawk-6e69b1c42ef002c41a5807f5886f78767881bfca.tar.gz egawk-6e69b1c42ef002c41a5807f5886f78767881bfca.tar.bz2 egawk-6e69b1c42ef002c41a5807f5886f78767881bfca.zip |
Add new test files.
Diffstat (limited to 'test')
-rw-r--r-- | test/rsnulw.awk | 7 | ||||
-rw-r--r-- | test/rsnulw.in | 1 | ||||
-rw-r--r-- | test/rsnulw.ok | 5 |
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] |