Time Arithmetic by yamaya

FS="[:+]"{printf$0=$0"=%02d:%02d:%02d\n",($1+$4+(59<$2+=$5+(59<$3+=$6)))%24,$2%60,$3%60}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page