diff options
| author | wukong <wukong@longaeva> | 2018-06-18 04:00:29 -0700 |
|---|---|---|
| committer | wukong <wukong@longaeva> | 2018-06-18 04:00:29 -0700 |
| commit | c44ac59acbb18c6982e180637566dec8eb9baebd (patch) | |
| tree | 66ea1e51ed0a60b2fdf48ea1b1c5b852007a05fd /sum2.awk | |
| parent | 2482727a6902e44e6a68236f878f5f9bf7947bd2 (diff) | |
adjusted print statements to use OFMT, OFS, and ORS;
Diffstat (limited to 'sum2.awk')
| -rw-r--r-- | sum2.awk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,5 +14,5 @@ NR==1 { nf_max = NF } END { for (i=1; i<=NF; i++) - printf("%.18g%s", sum[i], i < nf_max ? OFS : ORS) + printf(OFMT "%s", sum[i], i < nf_max ? OFS : ORS) } |
