aboutsummaryrefslogtreecommitdiffstats
path: root/test/fldterm.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/fldterm.awk')
-rw-r--r--test/fldterm.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fldterm.awk b/test/fldterm.awk
new file mode 100644
index 00000000..26fe01fb
--- /dev/null
+++ b/test/fldterm.awk
@@ -0,0 +1,10 @@
+BEGIN {
+ # choose a field separator that is numeric, so we can test whether
+ # force_number properly handles unterminated numeric field strings
+ FS = "3"
+}
+
+{
+ print $1+0
+ print $1
+}