]> err.no Git - util-linux/commit
cal: add support for highlighting an arbitrary date
authorPádraig Brady <P@draigBrady.com>
Mon, 1 Oct 2007 23:22:45 +0000 (00:22 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 11 Oct 2007 12:19:39 +0000 (14:19 +0200)
commitd7a92b89944d16410c03bfc58f360f783cc435c4
treef2be51e34688df4d0b1c5f83fb1768df6ab8f18f
parentcf9fc1dfe5432e63554b7ba192938984ddf61c4a
cal: add support for highlighting an arbitrary date

This is done by calling cal with the extra day parameter like:

cal 14 9 1752

Note the tests were updated to use the new syntax.

Note also that this patch changes the -y option
to always print a full year, even if a month or
the -[13] options are specified.
This matches the cal operation from bsdmainutils on debian
and also allows one to print a full year while
highlighting a particular date.

Signed-off-by: Pádraig Brady <P@draigBrady.com>
TODO
misc-utils/Makefile.am
misc-utils/cal.1
misc-utils/cal.c
tests/commands.sh.in
tests/ts-cal-1
tests/ts-cal-3
tests/ts-cal-y