aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-09-06 16:23:26 +0300
committerArnold D. Robbins <arnold@skeeve.com>2021-09-06 16:23:26 +0300
commit8db0967ca4b45ad563d6704ec5a70ad5067db1aa (patch)
tree8d42f276070d08e7e9d5564f66377eaa6ebd58e0
parent79fcb0a4a39b5cc529a48942d25817e4d7146658 (diff)
parent17652fe29a5decb9e722d9c544249333a7bd5aea (diff)
downloadegawk-8db0967ca4b45ad563d6704ec5a70ad5067db1aa.tar.gz
egawk-8db0967ca4b45ad563d6704ec5a70ad5067db1aa.tar.bz2
egawk-8db0967ca4b45ad563d6704ec5a70ad5067db1aa.zip
Merge branch 'gawk-5.1-stable'
-rw-r--r--test/commas.awk4
-rw-r--r--test/commas.ok2
2 files changed, 6 insertions, 0 deletions
diff --git a/test/commas.awk b/test/commas.awk
new file mode 100644
index 00000000..1013b9cb
--- /dev/null
+++ b/test/commas.awk
@@ -0,0 +1,4 @@
+BEGIN {
+ printf("%'d\n",123456789)
+ printf("%'f\n",123456789)
+}
diff --git a/test/commas.ok b/test/commas.ok
new file mode 100644
index 00000000..3d4d96a1
--- /dev/null
+++ b/test/commas.ok
@@ -0,0 +1,2 @@
+123,456,789
+123,456,789.000000