more pure bash to speed up things
This commit is contained in:
parent
861e2b9402
commit
b0a73ce559
@ -7,13 +7,14 @@ function get_vars_from_csv {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
|
||||||
if [ -z "${f_last_lines}" ]
|
if [ -z "${f_last_lines}" ]
|
||||||
then
|
then
|
||||||
mapfile -t f_last_lines <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
|
mapfile -t f_last_lines <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
if [ -z "${f_market_performance}" ]
|
if [ -z "${f_market_performance}" ]
|
||||||
then
|
then
|
||||||
f_market_performance="-50"
|
f_market_performance="-50"
|
||||||
|
Loading…
Reference in New Issue
Block a user