fix empty vars

This commit is contained in:
olli 2023-11-28 11:28:09 +01:00
parent a8151b94c2
commit 3422a95404

View File

@ -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_date2=${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