Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 6, 2024
1 parent 7c6047c commit 2824a8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/update_readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ count_excluded() {
raw_count="$(csvcut -c 4 rows.tmp | awk '{sum += $1} END {print sum}')"
# Return if raw count is 0 to avoid divide by zero error
(( raw_count == 0 )) && { printf "0"; return; }

white_count="$(csvcut -c 6 rows.tmp | awk '{sum += $1} END {print sum}')"
dead_count="$(csvcut -c 7 rows.tmp | awk '{sum += $1} END {print sum}')"
redundant_count="$(csvcut -c 8 rows.tmp | awk '{sum += $1} END {print sum}')"
Expand Down

0 comments on commit 2824a8d

Please sign in to comment.