xref: /freebsd/contrib/one-true-awk/testdir/t.intest2 (revision 2008043f386721d58158e37e0d7e50df8095942d)
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