diff --git a/dabo/analyze.sh b/dabo/analyze.sh index b67d5d2..8f5ecbe 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -71,7 +71,7 @@ function analyze { local f_chart_array mapfile -t f_lines <<<$(egrep "^${ANALYZE_TIME}" "$file" | grep -v ',,') local f_line -# for line in "${f_lines[@]}" + for f_line in "${f_lines[@]}" do f_sell_score="" @@ -90,6 +90,7 @@ function analyze { # get time from market_performance local f_time="${f_date%:*}" f_time="${f_time//[^0-9]/}" + echo "TIME=$f_time" # get market_performance from array with time f_market_performance=${f_market_performace_array[${f_time}]}