xref: /freebsd/contrib/one-true-awk/bugs-fixed/getline-numeric.awk (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1{
2    print $0, ($0 <= 50 ? "<=" : ">"), 50
3    getline dd < ARGV[1]
4    print dd, (dd <= 50 ? "<=" : ">"), 50
5    if (dd == $0) print "same"
6}
7