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