1# $MawkId: null-rs.awk,v 1.3 2010/12/10 17:00:00 tom Exp $
2# Test-script for MAWK
3###############################################################################
4# copyright 2009, Thomas E. Dickey
5#
6# This is a source file for mawk, an implementation of
7# the AWK programming language.
8#
9# Mawk is distributed without warranty under the terms of
10# the GNU General Public License, version 2, 1991.
11###############################################################################
12# the test-data was generated on Linux using bash:
13#for ((i = 1; i <= 10; ++i)) ;do echo -ne "$i\0"; done
14BEGIN {RS = "\0"}; END {print NR}
15