fix empty vars
This commit is contained in:
parent
276b3753d6
commit
6817ef8e1d
@ -62,6 +62,7 @@ function analyze {
|
|||||||
do
|
do
|
||||||
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]/}
|
||||||
|
[ -z "$f_market_perf_date" ] && continue
|
||||||
echo "DTAE=$f_market_perf_date"
|
echo "DTAE=$f_market_perf_date"
|
||||||
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_perf=${f_market_perf_line#*,}
|
||||||
|
Loading…
Reference in New Issue
Block a user