xref: /freebsd/contrib/one-true-awk/bugs-fixed/getline-numeric.awk (revision 401ab69cff8fa2320a9f8ea4baa114a6da6c952b)
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