diff options
author | Warner Losh <imp@FreeBSD.org> | 2019-06-02 04:23:56 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2019-06-02 04:23:56 +0000 |
commit | 03ee4d05f1d963d60451e04ce505e4da116300db (patch) | |
tree | 9dcabc6cffafcb6b8195148feb519d575b0bf6ac /bugs-fixed/getline-numeric.awk | |
parent | 3a4488f93f2dc8fe9de757a418b74aa0aa4f9ed1 (diff) |
Notes
Diffstat (limited to 'bugs-fixed/getline-numeric.awk')
-rw-r--r-- | bugs-fixed/getline-numeric.awk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bugs-fixed/getline-numeric.awk b/bugs-fixed/getline-numeric.awk new file mode 100644 index 000000000000..5571a9589a3d --- /dev/null +++ b/bugs-fixed/getline-numeric.awk @@ -0,0 +1,6 @@ +{ + print $0, ($0 <= 50 ? "<=" : ">"), 50 + getline dd < ARGV[1] + print dd, (dd <= 50 ? "<=" : ">"), 50 + if (dd == $0) print "same" +} |