From 140a4a886edc231f1c5f02c6cd4c82effe58139e Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 23 Jul 2016 21:59:40 +0300 Subject: Fix do_print for use with strnums. --- test/ofmtstrnum.awk | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/ofmtstrnum.awk (limited to 'test/ofmtstrnum.awk') diff --git a/test/ofmtstrnum.awk b/test/ofmtstrnum.awk new file mode 100644 index 00000000..805dad73 --- /dev/null +++ b/test/ofmtstrnum.awk @@ -0,0 +1,7 @@ +BEGIN { + split(" 1", f, "|") + OFMT = "%.1f" + print f[1] + x = f[1] + 0 + print f[1] +} -- cgit v1.2.3