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