prt_cal -- print a French Revolutionary calendar
prt_cal [--lang=I<language>] [--kitten=I<file>] year
This program prints a calendar, using the French Revolutionary calendar. It is not limited to the historical period when this calendar was in use, you can ask for any year after its beginning. For example, you can print the calendar for the year 211, which corresponds to 2002-2003 in the Gregorian calendar. The output is in HTML, and contains brief indications for which Gregorian date corresponds to each French Revolutionary date.
Some values are language dependant: Gregorian weekday initials, Gregorian month abbreviations and a few titles. You can select which language you will use. Known languages are:
In France, traditionnally, the postal service sells calendars for the next year during November / December. These calendars usually have the picture of one or more kittens in a basket, or a mountainous landscape. So, you can do the same with this program, by specifying a JPEG or GIF URL, which contains the photo of kittens or a picture of mountains. Don't even think of using anything else, especially pictures involving scantily clad ladies.
You can try
but do not even think about
There is a single parameter, the year, according to the French Revolutionary calendar. This parameter is numeric (Roman number not permitted).
If given several years, the program prints all the requested calendars on standard output as a single stream. There are HTML delimiters for each, but they are concatenated.
Jean Forget <JFORGET@cpan.org>