diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-10-02 20:21:29 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-10-02 20:21:29 +0200 |
commit | 953f97ddd184f3dfb1ce16ee2965012965b17fac (patch) | |
tree | 96c79805953c5e58856a323f0d5426caf9e16510 /test/rtlen.sh | |
parent | 8dbfb49319c538b0682d4dbcc977ba5b811b86b0 (diff) | |
download | gawk-953f97ddd184f3dfb1ce16ee2965012965b17fac.tar.gz |
Fix RT handling if partial terminators.
Diffstat (limited to 'test/rtlen.sh')
-rwxr-xr-x | test/rtlen.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/rtlen.sh b/test/rtlen.sh new file mode 100755 index 00000000..4a740451 --- /dev/null +++ b/test/rtlen.sh @@ -0,0 +1,5 @@ +#! /bin/sh + +AWK=${AWK:-../gawk} + +$AWK 'BEGIN {printf "0\n\n\n1\n\n\n\n\n2\n\n"; exit}' | $AWK 'BEGIN {RS=""}; {print length(RT)}' |