#!/bin/sh trap 'echo; exit' 'INT' while :; do printf '\r' date "$@" | tr -d '\n' sleep 0.99 done