From d4ffeeddf653fd03c78106911afbfc96a0086f5f Mon Sep 17 00:00:00 2001 From: olli Date: Sat, 11 Nov 2023 17:58:16 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/functions/get_vars_from_csv.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dabo/functions/get_vars_from_csv.sh b/dabo/functions/get_vars_from_csv.sh index 5d8a5b2..a426660 100644 --- a/dabo/functions/get_vars_from_csv.sh +++ b/dabo/functions/get_vars_from_csv.sh @@ -133,9 +133,13 @@ f_macd_histogram_signal=${f_macd_histogram_signal}" get_var_from_line ema800 39 # Coingecko price - get_var_from_line coingecko_price 40 + get_var_from_line coingecko_price 40a +set | grep f_ 1>&2 + } +set | grep f_ + function get_var_from_line { if [ -z "${f_last_line_array[$2]}" ] then