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