fix empty vars
This commit is contained in:
parent
8443bf59fc
commit
c6e194fc32
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user