From afc0bdc5184586992ad59b5915f6e5931332d377 Mon Sep 17 00:00:00 2001 From: olli Date: Sun, 12 Nov 2023 12:49:44 +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 1d8c9b7..0d2badd 100644 --- a/dabo/functions/get_vars_from_csv.sh +++ b/dabo/functions/get_vars_from_csv.sh @@ -89,7 +89,7 @@ f_price_trend=${f_price_trend}" f_macd_histogram_relation="${f_macd_signal_relation%|*}" [ -z "$f_macd_histogram_relation" ] && return 1 #f_macd_histogram_signal=$(echo "${f_macd_signal_relation}" | cut -d\| -f2) - f_macd_histogram_relation="${f_macd_signal_relation#|*}" + f_macd_histogram_relation="${f_macd_signal_relation#*|}" f_all_vars="${f_all_vars} f_macd_histogram_relation=${f_macd_histogram_relation} f_macd_histogram_signal=${f_macd_histogram_signal}"