awk/testdir/t.intest

10 lines
118 B
Plaintext

{
line = substr($0, index($0, " "))
print line
n = split(line, x)
if ($1 in x)
print "yes"
else
print "no"
}