From 4ab6df165291afc454422acee64f7b46112acfd4 Mon Sep 17 00:00:00 2001 From: olli Date: Sat, 11 Nov 2023 18:11:04 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/functions/get_vars_from_csv.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/dabo/functions/get_vars_from_csv.sh b/dabo/functions/get_vars_from_csv.sh index 65d6d69..1bd82bf 100644 --- a/dabo/functions/get_vars_from_csv.sh +++ b/dabo/functions/get_vars_from_csv.sh @@ -51,9 +51,6 @@ function get_vars_from_csv { #f_last_4_prices=$(tail -n4 "${f_ASSET_HIST_FILE}" | cut -d, -f2) #f_last_4_price=$(echo ${f_last_4_prices} | head -n1) #f_last_4_prices_change=$(g_percentage-diff ${f_last_4_price} ${f_price}) - - echo "g_percentage-diff ${f_4_last_line_array[2]} ${f_price}" 1>&2 - f_last_4_prices_change=$(g_percentage-diff ${f_4_last_line_array[2]} ${f_price}) # if printf '%s\n' ${f_last_4_prices} | sort -n -C