awk/testdir/t.intest2
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

17 lines
237 B
Plaintext

{
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"
}