xref: /freebsd/contrib/one-true-awk/testdir/t.intest2 (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1{
2	line = substr($0, index($0, " "))
3	print line
4	n = split(line, x)
5	x[$0, $1] = $0
6	print x[$0, $1]
7	print "<<<"
8for (i in x) print i, x[i]
9	print ">>>"
10	if (($0,$1) in x)
11		print "yes"
12	if ($1 in x)
13		print "yes"
14	else
15		print "no"
16}
17