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