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