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