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