more pure bash to speed up things

This commit is contained in:
olli 2023-11-11 17:22:58 +01:00
parent da5639d9a3
commit a351a66fc6

View File

@ -7,10 +7,10 @@ function get_vars_from_csv {
return 1 return 1
fi fi
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}")
fi #fi
if [ -z "${f_market_performance}" ] if [ -z "${f_market_performance}" ]
then then