Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Mar 22, 2024
1 parent acaff40 commit f9afcbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function count {
[[ "$raw_count" -eq 0 ]] && return # Return if zero to prevent divide by zero error
dead_count=$(csvgrep -c 12 -m 'yes' | csvgrep -c 2 -m "$2" | csvcut -c 7 | awk '{total += $1} END {print total}')
percentage_dead=$((dead_count*100/raw_count)) # Calculate % of dead of the raw count
printf "%s%%" "$percentage_dead"
printf "%s" "$percentage_dead"
return
fi

Expand Down

0 comments on commit f9afcbc

Please sign in to comment.