We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31121be commit 8c94b87Copy full SHA for 8c94b87
steps/report.sh
@@ -52,7 +52,10 @@ st_list=${TARGET}/temp/structured-list-of-metrics.tex
52
rm -f "${st_list}"
53
touch "${st_list}"
54
55
-groups=($(grep -oP '\[.*?\]' "${list}" | sed 's/[][]//g' || : ) "Ungrouped metrics")
+groups=()
56
+while IFS='' read -r line; do
57
+ groups+=("$line")
58
+done < <(grep -oP '\[.*?\]' "${list}" | sed 's/[][]//g' || : ; echo "Ungrouped metrics")
59
for idx in ${!groups[@]}; do
60
printf "\\item %s\n" "${groups[$idx]}" >> "${st_list}"
61
printf "\\\\begin{itemize}\n" >> "${st_list}"
0 commit comments