diff --git a/analyze.sh b/analyze.sh index 60262ae..e41a003 100755 --- a/analyze.sh +++ b/analyze.sh @@ -34,8 +34,7 @@ date_start="$(cat_log $FILES_LAST | head -n1 | cut -d " " -f 4-5)" date_end="$(cat_log $FILES_FIRST | tail -n1 | cut -d " " -f 4-5)" echo " $date_start - $date_end" | tr -d '[' | tr -d ']' -echo -echo "Distributions:" +# Filter and merge all logs for file in $FILES; do for format in deb rpm; do cat_log "$file" \ @@ -50,6 +49,8 @@ for file in $FILES; do done done +echo +echo "Distributions:" distros="$(cat "$TEMP" \ | cut -d " " -f 7- \ | cut -d / -f 5 \