MUMandCo
MUMandCo copied to clipboard
awk only divides when NR is not NULL
The END block of awk
does not check whether the NR variable is NULL or not, which sometimes results in "fatal: division by zero attempted" errors. The code changes prevent this error.