more pure bash to speed up things

This commit is contained in:
olli 2023-11-11 17:19:44 +01:00
parent b0a73ce559
commit 04601ca607

View File

@ -10,10 +10,10 @@ function get_vars_from_csv {
set -x 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
if [ -z "${f_market_performance}" ] if [ -z "${f_market_performance}" ]
then then