#! /bin/sh t=`date +%s` sed -i '$s/^\([0-9]\+-\) /\1'$t' /' ~/.tlog 2>/dev/null [ $1 ] && echo $t- $@ >> ~/.tlog