fix empty vars
This commit is contained in:
parent
1bd611836f
commit
276b3753d6
@ -63,7 +63,7 @@ function analyze {
|
|||||||
f_market_perf_date=${f_market_perf_line%,*}
|
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//[^0-9]/}
|
||||||
echo "DTAE=$f_market_perf_date"
|
echo "DTAE=$f_market_perf_date"
|
||||||
#f_market_perf_date=${f_market_perf_date:0:-1}
|
f_market_perf_date=${f_market_perf_date::-1}
|
||||||
f_market_perf=${f_market_perf_line#*,}
|
f_market_perf=${f_market_perf_line#*,}
|
||||||
f_market_performace_array[${f_market_perf_date}]=${f_market_perf}
|
f_market_performace_array[${f_market_perf_date}]=${f_market_perf}
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user