From 542653b17191bf64789aa433fec6032f2b5fa489 Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 1 Jun 2023 13:33:14 +0200 Subject: [PATCH] typo --- dabo/analyze.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/analyze.sh b/dabo/analyze.sh index 531df51..671d607 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -45,7 +45,7 @@ function analyze { current=$(echo $line | cut -d, -f2) time=$(echo $line | cut -d, -f1 | cut -d: -f1,2) f_market_performance=$(grep "^$time" data/botdata/MARKET_PERFORMANCE | tail -n1 | cut -d: -f4 | cut -d"%" -f1 | sed 's/ *//') - echo "$line" >>${g_tmp}/${tmpfilea} + echo "$line" >>${g_tmp}/${tmpfile} echo "${line},${f_market_performance}" | perl -pe 's/([0-9].[0-9][0-9][0-9][0-9][0-9][0-9])[0-9]+/$1/g' | column -t -s, >>${g_tmp}/output-${tmpfile} if [ -f "${g_tmp}/open-${tmpfile}" ] then