: : rest of code before... printf "%0.2d:%0.2d:%0.2d\n",$hour,$min,$sec; : : much handwaving :