1*9a7741deSElliott Hughes{ 2*9a7741deSElliott Hughes line = substr($0, index($0, " ")) 3*9a7741deSElliott Hughes print line 4*9a7741deSElliott Hughes n = split(line, x) 5*9a7741deSElliott Hughes x[$0, $1] = $0 6*9a7741deSElliott Hughes print x[$0, $1] 7*9a7741deSElliott Hughes print "<<<" 8*9a7741deSElliott Hughesfor (i in x) print i, x[i] 9*9a7741deSElliott Hughes print ">>>" 10*9a7741deSElliott Hughes if (($0,$1) in x) 11*9a7741deSElliott Hughes print "yes" 12*9a7741deSElliott Hughes if ($1 in x) 13*9a7741deSElliott Hughes print "yes" 14*9a7741deSElliott Hughes else 15*9a7741deSElliott Hughes print "no" 16*9a7741deSElliott Hughes} 17