diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-07-23 22:11:52 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-07-23 22:11:52 +0300 |
commit | adb5491f2c9f49bf3d0e57f52c55bcaa4221e36e (patch) | |
tree | 4e76b81c1ec485cc10f52d47b699a894cf65a247 /test/ofmtstrnum.awk | |
parent | b7a631b6fa5ed5577520eccb1608956bd40a74e0 (diff) | |
parent | de23ab7bfbea6ee03ef7386c6c203a4b2b7b7116 (diff) | |
download | egawk-adb5491f2c9f49bf3d0e57f52c55bcaa4221e36e.tar.gz egawk-adb5491f2c9f49bf3d0e57f52c55bcaa4221e36e.tar.bz2 egawk-adb5491f2c9f49bf3d0e57f52c55bcaa4221e36e.zip |
Merge branch 'master' into feature/nocopy
Diffstat (limited to 'test/ofmtstrnum.awk')
-rw-r--r-- | test/ofmtstrnum.awk | 7 |
1 files changed, 7 insertions, 0 deletions
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] +} |