today.pl -- Highlight Today's Date in Unix Cal Output


today.pl is a simple way to highlight today's data in unix cal program output. Note that more modern cal programs, such as the one from the GNU project and a recent BSD cal do by default highlight today's date in the calendar output. This program is more a curiousity of how I did it before cal did the highlighting. It's much easier to use cal or ncal now and let it do the highlighting. I use it in my .login file to provide a calendar when I log in.

Usage

The command line is: today.pl There are no commandline options for today.pl.

As an example, the command today.pl might produce output like: today.pl example output


Back to Kent's Perl Page