summaryrefslogtreecommitdiff
path: root/cov.awk
diff options
context:
space:
mode:
authorwukong <wukong@longaeva>2018-06-18 04:00:29 -0700
committerwukong <wukong@longaeva>2018-06-18 04:00:29 -0700
commitc44ac59acbb18c6982e180637566dec8eb9baebd (patch)
tree66ea1e51ed0a60b2fdf48ea1b1c5b852007a05fd /cov.awk
parent2482727a6902e44e6a68236f878f5f9bf7947bd2 (diff)
adjusted print statements to use OFMT, OFS, and ORS;
Diffstat (limited to '')
-rw-r--r--cov.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cov.awk b/cov.awk
index 176fd96..9b79d11 100644
--- a/cov.awk
+++ b/cov.awk
@@ -52,7 +52,7 @@ END {
printf(header[y] OFS)
### rows
for (x=1; x<=nf_max; x++) {
- printf("%.18g", cov_samp[x,y])
+ printf(OFMT, cov_samp[x,y])
if (x < nf_max)
printf(OFS)
}