From 88d6278f06fa073d9004cdfed6a1331233a98768 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 28 Nov 2023 11:23:53 +0100 Subject: [PATCH] fix empty vars --- dabo/analyze.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/analyze.sh b/dabo/analyze.sh index 571ea56..7939266 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -62,7 +62,7 @@ function analyze { do f_market_perf_date=${f_market_perf_line%,*} f_market_perf_date=${f_market_perf_date//[^0-9]/} - f_market_perf_date=${f_market_perf_date::-1} + f_market_perf_date="${f_market_perf_date::-1}" f_market_perf=${f_market_perf_line#*,} f_market_performace_array[${f_market_perf_date}]=${f_market_perf} done