You can use the terminal standout codes to highlight today's date, but you
need either the Linux compatibility stuff or a recent version of ncurses
installed:
#!/bin/ksh
PATH=/usr/compat/linux/usr/bin:/usr/local/bin:/bin:/usr/bin
export PATH
DAY=$(date +%d | sed 's/0\([123456789]\)/ \1/')
SMSO=$(tput smso)
RMSO=$(tput rmso)
cal | sed -e 's/^/ /' -e "3,\$s/ ${DAY}/ ${SMSO}${DAY}${RMSO}/"
exit 0
--
Karl Vogel I don't speak for the USAF or my company
Letterman's top signs your cat is trying to kill you #9:
To tune of Meow Mix song sings, "Kill kill kill kill, kill kill kill kill"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"