Skip to content

Commit

Permalink
Change --> Total and merge with +-
Browse files Browse the repository at this point in the history
  • Loading branch information
adomani committed May 19, 2024
1 parent 7a077cf commit 0eaad27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mathlib_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ done)"

# produces the table summary of the declarations split by type
declSummary="$(paste -d' ' <(echo "${newDecls}") <(echo "${oldDecls}") <(echo "${plusMinus}") |
LC_ALL=en_US.UTF-8 awk 'BEGIN{ print "|Type|New|+-|%|\n|:-:|:-:|:-:|:-:|" }{
printf("| %s | %'"'"'d | +%'"'"'d -%'"'"'d | %4.2f%% |\n", $1, $2, $5, $6, ($2-$4)*100/$2)
LC_ALL=en_US.UTF-8 awk 'BEGIN{ print "|Type|Total|%|\n|:-:|:-:|:-:|" }{
printf("| %s | %'"'"'d (+%'"'"'d -%'"'"'d) | %4.2f%% |\n", $1, $2, $5, $6, ($2-$4)*100/$2)
}'
)"

Expand Down

0 comments on commit 0eaad27

Please sign in to comment.