more pure bash to speed up things

This commit is contained in:
olli 2023-11-11 17:17:55 +01:00
parent 861e2b9402
commit b0a73ce559

View File

@ -7,13 +7,14 @@ function get_vars_from_csv {
return 1
fi
set -x
if [ -z "${f_last_lines}" ]
then
mapfile -t f_last_lines <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
fi
set -x
if [ -z "${f_market_performance}" ]
then
f_market_performance="-50"