commit 293d8b3006b06c89d3590a5b2d61b9288469d5f9 parent a4ef393da25779ad13bb108a7ce22f21ec2d6363 Author: Jacob R. Edwards <jacob@jacobedwards.org> Date: Sun, 6 Aug 2023 07:44:21 -0700 Fix bug with operator precedence Diffstat:
M | costs.awk | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/costs.awk b/costs.awk @@ -32,7 +32,7 @@ BEGIN { output = "daily"; } else { output = ARGV[1]; - if (! output in t) + if (!(output in t)) die(output " not a valid period"); delete ARGV[1]; --ARGC;