You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
237 B
17 lines
237 B
7 months ago
|
{
|
||
|
line = substr($0, index($0, " "))
|
||
|
print line
|
||
|
n = split(line, x)
|
||
|
x[$0, $1] = $0
|
||
|
print x[$0, $1]
|
||
|
print "<<<"
|
||
|
for (i in x) print i, x[i]
|
||
|
print ">>>"
|
||
|
if (($0,$1) in x)
|
||
|
print "yes"
|
||
|
if ($1 in x)
|
||
|
print "yes"
|
||
|
else
|
||
|
print "no"
|
||
|
}
|