Shell script wrapper around "cal" that highlights today's date:
Download source code - hcal.sh
Source code listing:
(Note: ^[ represents ESC)
#!/bin/sh
# highlights today's date in /usr/bin/cal's output - Aleksey Tsalolikhin, 2007
HL_ON='^[[1;7m' #highlight on
HL_OFF='^[[m' #highlight off
TODAY=`date +%e`
cal | sed -e 's:$: :' -e "s:$TODAY :${HL_ON}${TODAY}${HL_OFF} :"
Up to: Aleksey's tech notes