fix empty vars
This commit is contained in:
@@ -90,6 +90,7 @@ function analyze {
|
|||||||
# get time from market_performance
|
# get time from market_performance
|
||||||
local f_time="${f_date%:*}"
|
local f_time="${f_date%:*}"
|
||||||
f_time="${f_time//[^0-9]/}"
|
f_time="${f_time//[^0-9]/}"
|
||||||
|
f_time="${f_time::-1}"
|
||||||
echo "TIME=$f_time"
|
echo "TIME=$f_time"
|
||||||
|
|
||||||
# get market_performance from array with time
|
# get market_performance from array with time
|
||||||
|
|||||||
Reference in New Issue
Block a user