my tech ramblings, some tips and tricks, but mostly just a place for me to b1tch
calc_elaspsed_time() { local SECONDS=$1 ((h=SECONDS/3600)) ((m=SECONDS%3600/60)) ((s=SECONDS%60)) printf -v ELAPSED_TIME "%02d:%02d:%02d" $h $m $s }
Very helpful. u save the day
Very helpful. u save the day
ReplyDelete