From 0a079d72cc3deb948de9631ad35d867293e1850e Mon Sep 17 00:00:00 2001 From: olli Date: Sat, 11 Nov 2023 18:02:01 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/functions/get_vars_from_csv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/functions/get_vars_from_csv.sh b/dabo/functions/get_vars_from_csv.sh index 303b1e3..e197552 100644 --- a/dabo/functions/get_vars_from_csv.sh +++ b/dabo/functions/get_vars_from_csv.sh @@ -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}")