#!/usr/bin/awk -f BEGIN { FS = ":" } { sub(/#.*/, "") } /\S/ { total += $2 * 60 + $3 } END { printf "%02d:%06.3f\n", total / 60, total % 60 }