summaryrefslogtreecommitdiff
path: root/lin_reg1.awk
diff options
context:
space:
mode:
authorwukong <wukong@longaeva>2018-06-15 09:17:23 -0700
committerwukong <wukong@longaeva>2018-06-15 09:17:23 -0700
commitce5e0a8f088e19e8ebe9a27d8efd4207363791af (patch)
tree6c325b3b995f984e19418ede16cfa5e5a5c9c2f0 /lin_reg1.awk
parente8e5644e677af6eac9361902d24e8df72bc2902c (diff)
fixed row 1 header issue in diff.awk; other small adjustments in hamming and lin_reg
Diffstat (limited to '')
-rw-r--r--lin_reg1.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lin_reg1.awk b/lin_reg1.awk
index de1189f..cd3db8e 100644
--- a/lin_reg1.awk
+++ b/lin_reg1.awk
@@ -4,6 +4,7 @@
# simple linear regression between individual text columns
BEGIN {
+ OFS = "%.9g"
sign = "[+-]?"
decimal = "[0-9]+[.]?[0-9]*"
fraction = "[.][0-9]*"