xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/t.re5 (revision 8226594fdd4479be135127f43632f1f995074654)
1BEGIN {	for (i = 0; i <= 9; i++) r[i] = i }
2
3{ for (i in r) if ($0 ~ r[i]) print }
4