in reply to Re^3: How to add minutes with seconds?
in thread How to add minutes with seconds?
perl -e '$_+=$a*60+$b while($a,$b)=split/:/,shift; printf"%d:%.2d\n",$ +_/60,$_%60' 1:08 2:53 1:00
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to add minutes with seconds?
by bioMan (Beadle) on Mar 16, 2006 at 21:18 UTC |