summaryrefslogtreecommitdiff
path: root/scripts/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib.sh')
-rw-r--r--scripts/lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib.sh b/scripts/lib.sh
index 3a28552..efe5556 100644
--- a/scripts/lib.sh
+++ b/scripts/lib.sh
@@ -1,4 +1,5 @@
# Shared helpers for fetch.sh and fetch_tw_daily.sh (source this file).
+export LC_ALL=C # awk/sort numeric and ordering behaviour must not depend on the user locale (e.g. comma decimals)
header="Date,Open,High,Low,Close,Volume"
# merge_into FILE NEWROWS: merge by date (new wins), sorted, warn on >1% close mismatch.