more pure bash to speed up things

This commit is contained in:
olli 2023-11-11 18:02:01 +01:00
parent e7bfb84790
commit 0a079d72cc

View File

@ -13,7 +13,7 @@ function get_vars_from_csv {
fi
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}" ]
then
mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}")