awk/bugs-fixed/getline-numeric.awk
2019-01-25 12:56:06 +02:00

7 lines
144 B
Awk

{
print $0, ($0 <= 50 ? "<=" : ">"), 50
getline dd < ARGV[1]
print dd, (dd <= 50 ? "<=" : ">"), 50
if (dd == $0) print "same"
}