Watchless Watch
OS X (at least mine) doesn’t have a watch (1). Here is a cheap lookalike in bash, because I like bash:
#!/bin/sh
#
# Dimi Shahbaz
#
# A (crude) replacement for the UNIX watch command for
# systems that don't have it.
#
# Options:
# -n SEC Delay in seconds between command executions
#
DELAY=2
while getopts \"n:\" Option
do
case $Option in
n) DELAY=$OPTARG; shift; shift;;
esac
done
CMD=$@;
while /usr/bin/true ; do
clear;
date;
sh -c \"$CMD\"
sleep $DELAY;
done