From 2476e2ee722cc8f4af78b42c168ca3c355c721c3 Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 15 Nov 2023 16:52:18 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/functions/get_vars_from_csv.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dabo/functions/get_vars_from_csv.sh b/dabo/functions/get_vars_from_csv.sh index 7c95bec..36e466a 100644 --- a/dabo/functions/get_vars_from_csv.sh +++ b/dabo/functions/get_vars_from_csv.sh @@ -17,6 +17,8 @@ function get_vars_from_csv { if [ -z "${f_last_lines_array}" ] then mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}") + else + echo "USING ARRAY" fi # if there are not four lines