more pure bash to speed up things
This commit is contained in:
parent
e7bfb84790
commit
0a079d72cc
@ -13,7 +13,7 @@ function get_vars_from_csv {
|
|||||||
fi
|
fi
|
||||||
f_all_vars="f_market_performance=${f_market_performance}"
|
f_all_vars="f_market_performance=${f_market_performance}"
|
||||||
|
|
||||||
G # read last 4 lines in array if not given
|
# read last 4 lines in array if not given
|
||||||
if [ -z "${f_last_lines_array}" ]
|
if [ -z "${f_last_lines_array}" ]
|
||||||
then
|
then
|
||||||
mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
|
mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
|
||||||
|
Loading…
Reference in New Issue
Block a user